# Error in Maximize[ ]?

Posted 24 days ago
252 Views
|
2 Replies
|
1 Total Likes
|
 Hi, yesterday I got help from you, because the online-version wasn't working in optimization that good anymore. Therefore, i downloaded the "Mathematica" Trail-Version. I now tried to maximize a Utility function under a constraint, which failed. I guessed, that the command would be similar to the minimization of a production-function. However, now some examples work also on the online-version. But could you be so kind and give me an exact command for maximization in "Mathematica"?That would be nice, thank you! Manuel Attachments:
2 Replies
Sort By:
Posted 24 days ago
 Hi Manuel, sol = Maximize[{x^(8/10)*y^(5/10), x + y/2 == 460}, {x, y}]; sol // N (* {1721.59, {x -> 283.077, y -> 353.846}} *) Use exact numbers y/2 rather than 0.5 y.
 You can also keep 0.5y but assume x>0 and y>0: Maximize[{x^(8/10)*y^(5/10), x + 0.5 y == 460 && x > 0 && y > 0}, {x, y}]