at.dms.kjc.linprog
Class MPSWriter
java.lang.Object
at.dms.kjc.linprog.SimpleLinearProgram
at.dms.kjc.linprog.MPSWriter
- All Implemented Interfaces:
- LinearProgram, Serializable
- Direct Known Subclasses:
- GLPKSolve
public class MPSWriter
- extends SimpleLinearProgram
Writes an MPS representation of a linear program. Intended to be
extended by LinearProgramSolver's that call printMPSToFile before
processing the MPS file with a 3rd-party package.
- See Also:
- Serialized Form
Constructor Summary |
MPSWriter(int numVars)
Create one of these with variables. |
Method Summary |
protected void |
printMPSToFile(String filename)
Dumps a representation of this to in MPS format. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MPSWriter
public MPSWriter(int numVars)
- Create one of these with variables.
printMPSToFile
protected void printMPSToFile(String filename)
- Dumps a representation of this to in MPS format.