Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'FindMaximum in Mathematica' topicStudent Support Forum > General > "FindMaximum in Mathematica"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Forum Moderator
email me
09/26/10 7:29pm

Covers the constraints better:

In[12]:= FindMaximum[{ Max[Abs[x + y], Abs[x - y], Abs[2 y]],
1 >= x >= -1 && 1 >= y >= -1 &&
(x == 1 || -x == 1 || y == 1 || -y == 1 ||
-x + 4 y == 1 || x - 4 y == 1)},
{x, y}]

Out[12]= {1.5, {x -> 1., y -> 0.5}}

URL: ,

Subject (listing for 'FindMaximum in Mathematica')
Author Date Posted
FindMaximum in Mathematica Ginno Lipst 09/25/10 4:08pm
Re: FindMaximum in Mathematica Forum Modera... 09/26/10 7:12pm
Re: FindMaximum in Mathematica Forum Modera... 09/26/10 7:29pm
Re: FindMaximum in Mathematica Ginno Lipst 10/05/10 7:56pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic