[FlopCpp-tickets] [FlopC++] #9: Split "minimize" and "maximize"
FlopC++
coin-trac at coin-or.org
Fri Jul 21 22:47:14 EDT 2006
#9: Split "minimize" and "maximize"
-------------------------+--------------------------------------------------
Reporter: hpwalton | Owner: hpwalton
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: component1 | Version:
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Motivation: It is difficult to do special things like SOS currently. SOS
requires observation of data in the matrix before it can be set up
properly. However, it must be done before the call to solve();
Another symptom of this is the "writeMPS" call in the midst of the code
commented out.
The client of the model could call that on their own if they had a moment
break in between the generation and the solving of the model
Proposal:
split "minimize"/"maximize"/... into a few bits:
- attach()
- solve()
If absolutely necessary, I can fabricate minimize() and maximize() to
behave as they do today. This is a little tricky, but can be done.
This would also allow folks to simply generate an MPS/LP file while
debugging the model readily. I find this to be extraordinarily helpful.
--
Ticket URL: <https://projects.coin-or.org/FlopC++/ticket/9>
FlopC++ <http://example.com/>
My example project
More information about the FlopCpp-tickets
mailing list