problems with multiple solve statements in AMPL

32 views
Skip to first unread message

Hossein Haghighat

unread,
Apr 18, 2008, 2:58:34 PM4/18/08
to am...@googlegroups.com
Hi,
I solve my problem for several scenarios in a loop. Each time I solve the problem individually, I find a solution but when I solve the problem in a loop I get another solution (and sometimes the same model that is solved does not get solved in the loop!!).
I figured out that this happen because AMPL starts the next optimization process form the previous solution and if the previous solution is not a good starting point difficulties arise. Am I right?
please advise me how to prevent AMPL from starting the next solve command from the previous answer. is there any "option" in AMPL to avoid this? 
 


Explore the seven wonders of the world Learn more!

Robert Fourer

unread,
Apr 20, 2008, 7:18:23 PM4/20/08
to am...@googlegroups.com, Hossein Haghighat

Set the following:

 

   option reset_initial_guesses 1;

 

 


--~--~---------~--~----~------------~-------~--~----~


Reply all
Reply to author
Forward
0 new messages