cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

maximize function

TerryKoen
7-Bedrock

maximize function

I do not understand why the maximize function does not work. Some help would be appreciated.

TOK
3 REPLIES 3

What makes you think it didn't work? Do remember that maximize only promises a local maximum -- to get a global maximum you need to have a guess value close enough to the global maximum.

And why are you maximizing the power loss, anyway? Most engineers would try to minimize the power loss.
__________________
� � � � Tom Gutman

The problem cannot be maximized or minimized. If integer values of the options are used, it amounts to a Diophantine solution, or as a function of a function, nothing can be done unless the problem is the function of a single variable or option. Etc. Etc.

thanks Tom,
Yes the power loss should be minimized. I see where the maximize function is working properly (even though inappropriately). I missed applying the constraints properly
TOK
Announcements

Top Tags