Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'How to use NMaximize in a bilevel problem?' topicStudent Support Forum > General > "How to use NMaximize in a bilevel problem?"

Next Comment >Help | Reply To Topic
Author Comment/Response
about NMaximize?
08/20/04 06:41am


I try to solve a bilevel problem by using NMaximize with following code, but it is not work:
f[x_] := NMaximize[{x*y, 1 ≤ y ≤ 2}, y][[1]];
NMaximize[{f[x], 1 ≤ x ≤ 2}, {x}].

How to correct it?



URL: ,

Subject (listing for 'How to use NMaximize in a bilevel problem?')
Author Date Posted
How to use NMaximize in a bilevel problem? about NMaxim... 08/20/04 06:41am
Re: How to use NMaximize in a bilevel problem? Henry Lamb 08/23/04 03:49am
Next Comment >Help | Reply To Topic