Chris
Chris
Assuming that you are using a callback to write the current incumbent,
you can invoke the getBestObjValue method inside the callback and write
that someplace (probably in a separate file, maybe as a comment inside
the .mst/.sol file if they allow comments). Before restarting, you can
set the CutLo (max problem) or CutUp (min problem) parameter to the
recorded bound.
/Paul
Great. That's just what I needed. I'm actually not using a callback
but this will
be easy enough to incorporate. Thanks for the idea
Chris
Sorry, scratch this part. You would use the incumbent solution, not the
best bound, as CutLo or CutUp. My bad.
/Paul
Chris
"Paul Rubin" <ru...@msu.edu> wrote in message
news:YR_Wj.150$Q57...@nlpi065.nbdc.sbc.com...
The following solution assumes you're on a Linux/UNIX environment. If
you're not, you should probably consider switching anyway:
If what you want is just to stop the cplex process for a while in
order to do something else and then return to solving, you can suspend
the cplex process by typing Ctrl+Z on the terminal from which you
started it (this will send it a STOP signal). Then, when you're ready
to let it go again, go to the same terminal and type "fg" (without the
quotes) followed by ENTER. If you don't have the terminal window that
started the process open any more, locate the process id (using "top"
or "ps") and do this:
To stop, use the command: kill -STOP pid
To re-start, use the command: kill -CONT pid
where pid is the process id of the cplex process.
Tallys