initial feasible solution

View: New views
3 Messages — Rating Filter:   Alert me  

initial feasible solution

by DHabby :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello everybody!

 I want to run ampl/cplex using the 'mipemphasis=1' directive and use the output  as a initial solution in order to obtain an optimal solution to my problem, but I dont know how to tell ampl to do it.

 Any help is welcomed!!!

[AMPL 2794] Re: initial feasible solution

by Ali Baharev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello!

I would try

option cplex_options 'mipemphasis 1';

I did not get the second part of your question. The values of the
variables are automatically kept after a solve command, you do not
have to do anything.

Good luck,

Ali

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To post to this group, send email to ampl@...
To unsubscribe from this group, send email to ampl+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/ampl?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: initial feasible solution

by DHabby :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the reply... maybe my english is too basic. I know how to use 'mipemphasis'. What I want is to run my problem whith this directive and use the feasible solution of it as an initial solution to the problem (I want to run it again, but without the use of the 'mipemphasis'). The latter, I dont know how to get it done.

Thanks anyways!!
DHabby wrote:
Hello everybody!

 I want to run ampl/cplex using the 'mipemphasis=1' directive and use the output  as a initial solution in order to obtain an optimal solution to my problem, but I dont know how to tell ampl to do it.

 Any help is welcomed!!!