MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

elementary questio about packages

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108238] elementary questio about packages
  • From: Francisco Gutierrez <fgutiers2002 at yahoo.com>
  • Date: Thu, 11 Mar 2010 06:37:35 -0500 (EST)

Dear List:
I made a package with a function that has a minimization. The minimization 
returns, as should be, the value of the optimization, and then the values
 of the variables, in the form {z1->10,z2->20,z3->50}.
 
In the notebook, this works perfectly well. In the package, however, the function throws back the variables in the form {contextname`z1->10,contextname`z2->20}.
This is obnoxious, and makes the result much harder to utilize. How can I avoid this? I tried deleting 
Begin["`Private`"], but then  I got a completely crazy result.
What should I do?
Fg


  • Prev by Date: Integrate bug
  • Next by Date: locally changing Options
  • Previous by thread: Re: Integrate bug
  • Next by thread: Re: elementary questio about packages