MakeMPS: Difference between revisions

From ASCEND
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
MakeMPS is a currently-inactive 'solver' for ASCEND that exported an active [[MODEL]] to the MPS file format. This file could then be loaded and solved using an external program, and the solution re-incorporated back into ASCEND again when completed.
MakeMPS is a currently-inactive 'solver' for ASCEND that exported an active [[MODEL]] to the MPS file format. This file could then be loaded and solved using an external program, and the solution re-incorporated back into ASCEND again when completed.


The source code is available at {{src|ascend/solver/mps.c}}.
The source code is available at {{srcdir|solvers/makemps}}


'''Update''': a recent review and update of the MakeMPS code shows that it was written for the 'old' libascend API. Some changes to the way MakeMPS interacts with [[boundaries]] as well as changes to switch over the new [[Solver API]] are required.
'''Update''': a recent review and update of the MakeMPS code shows that it was written for the 'old' libascend API. Some changes to the way MakeMPS interacts with [[boundaries]] as well as changes to switch over the new [[Solver API]] are required. [[User:Jpye|Jpye]] 09:27, 7 February 2011 (UTC)
 
Note that the MPS format is restricted to linear and mixed integer and linear programs. Another file format, supported by AMPL, is the '''.nl''' file format, which can also handle non-linear equations. It would be desirable to extend the current MakeMPS export code and implement support for '''.nl''' file export.
 
See also:
* [http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.60.9659&rep=rep1&type=pdf Writing .nl files]
* [http://en.wikipedia.org/wiki/Nl_%28format%29 nl (format)] (Wikipedia)

Latest revision as of 00:18, 8 February 2011

NLA
QRSlv
CMSlv
IPSlv
NLP
CONOPT
IPOPT
TRON
MINOS
Opt
NGSlv
DAE/ODE
IDA
LSODE
DOPRI5
RADAU5
LA
Linsolqr
Linsol
LP
MakeMPS
Logic
LRSlv

The content from this page was lost in a recent server failure. We will be working to restore this content as soon as possible.

MakeMPS is a currently-inactive 'solver' for ASCEND that exported an active MODEL to the MPS file format. This file could then be loaded and solved using an external program, and the solution re-incorporated back into ASCEND again when completed.

The source code is available at solvers/makemps

Update: a recent review and update of the MakeMPS code shows that it was written for the 'old' libascend API. Some changes to the way MakeMPS interacts with boundaries as well as changes to switch over the new Solver API are required. Jpye 09:27, 7 February 2011 (UTC)

Note that the MPS format is restricted to linear and mixed integer and linear programs. Another file format, supported by AMPL, is the .nl file format, which can also handle non-linear equations. It would be desirable to extend the current MakeMPS export code and implement support for .nl file export.

See also: