Cross-posting. See below. On Sat, Oct 29, 2011 at 10:38 AM, Julio del Corral Cuervo <[email protected]> wrote: > I am a lecturer in Microeconomics in a Spanish University and I am > trying to show students how can be handled some microeconomics problem > into SAGE. > > The first problem that I faced is that i am not able to solve the > subsequent problem > Minimize x+2*y > subject to 16=2*x**0.25*y**0.5 > > I have tried several ways to handle this problem. One of them is: > > var('x,y,lam') > L(x,y,lam)= x+2*y -lam*(16-2*x**0.25*y**0.5) > eq1=L.diff(x) > eq2=L.diff(y) > eq3=L.diff(lam) > solve([eq1==0,eq2==0,eq3==0], x,y,lam) > > > But I do not obtain any result neither in the web version nor the the > virtual box version.
This might be a bug (?). I'll cc sage-support. > > Thanks for the help, > Julio del Corral > http://www3.uclm.es/profesorado/jcorral/I-Index.php > > -- > You received this message because you are subscribed to the Google Groups > "sage-edu" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sage-edu?hl=en. > > -- You received this message because you are subscribed to the Google Groups "sage-edu" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sage-edu?hl=en.
