net.sourceforge.swimp.coin
Class OsiSolverInterface

java.lang.Object
  extended by net.sourceforge.swimp.coin.OsiSolverInterface
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
OsiCbcSolverInterface, OsiClpSolverInterface, OsiGlpkSolverInterface, OsiSymSolverInterface, OsiVolSolverInterface

public class OsiSolverInterface
extends java.lang.Object
implements java.lang.Cloneable


Field Summary
protected  boolean swigCMemOwn
           
 
Constructor Summary
OsiSolverInterface(long cPtr, boolean cMemoryOwn)
           
 
Method Summary
 void addCol(CoinPackedVectorBase vec, double collb, double colub, double obj)
           
 void addCol(int[] intArr, double[] doubleArr, double collb, double colub, double obj)
           
 void addCol(int numberElements, SWIGTYPE_p_int rows, SWIGTYPE_p_double elements, double collb, double colub, double obj)
           
 void addCols(CoinPackedVectorBase[] cols, double[] collb, double[] colub, double[] obj)
           
 void addCols(int numcols, SWIGTYPE_p_int columnStarts, SWIGTYPE_p_int rows, SWIGTYPE_p_double elements, SWIGTYPE_p_double collb, SWIGTYPE_p_double colub, SWIGTYPE_p_double obj)
           
 void addColsVec(int[] columnStarts, int[] rows, double[] elements, double[] collb, double[] colub, double[] obj)
           
 void addRow(CoinPackedVectorBase vec, char rowsen, double rowrhs, double rowrng)
           
 void addRow(CoinPackedVectorBase vec, double rowlb, double rowub)
           
 void addRow(int[] intArr, double[] doubleArr, double rowlb, double rowub)
           
 void addRow(int numberElements, SWIGTYPE_p_int columns, SWIGTYPE_p_double element, double rowlb, double rowub)
           
 void addRows(CoinPackedVectorBase[] rows, double[] rowlb, double[] rowub)
           
 void addRows(CoinPackedVectorBase[] rows, java.lang.String rowsen, double[] rowrhs, double[] rowrng)
           
 void addRows(int numrows, SWIGTYPE_p_int rowStarts, SWIGTYPE_p_int columns, SWIGTYPE_p_double element, SWIGTYPE_p_double rowlb, SWIGTYPE_p_double rowub)
           
 void addRowsVec(int[] rowStarts, int[] columns, double[] element, double[] rowlb, double[] rowub)
           
 int applyCuts(OsiCuts cs)
           
 int applyCuts(OsiCuts cs, double effectivenessLb)
           
 OsiSolverInterface assign(OsiSolverInterface rhs)
           
 void branchAndBound()
           
 boolean checkDblParam(int key)
           
 boolean checkHintParam(int key)
           
 boolean checkIntParam(int key)
           
 boolean checkStrParam(int key)
           
 java.lang.Object clone()
           
 OsiSolverInterface cloneSolver()
           
 OsiSolverInterface cloneSolver(boolean copyData)
           
 void copyParameters(OsiSolverInterface rhs)
           
 void delete()
           
 void deleteCols(int[] intArr)
           
 void deleteCols(int num, SWIGTYPE_p_int colIndices)
           
 void deleteColsVec(int[] colIndices)
           
 void deleteRows(int[] intArr)
           
 void deleteRows(int num, SWIGTYPE_p_int rowIndices)
           
protected  void finalize()
           
 SWIGTYPE_p_double getColLower()
           
 double[] getColLowerVec()
           
 SWIGTYPE_p_double getColSolution()
           
 double[] getColSolutionVec()
           
 SWIGTYPE_p_double getColUpper()
           
 double[] getColUpperVec()
           
static long getCPtr(OsiSolverInterface obj)
           
 double getDblParam(int key)
           
 CoinWarmStart getEmptyWarmStart()
           
 boolean getHintParam(int key)
           
 double getInfinity()
           
 int getIntParam(int key)
           
 int getIterationCount()
           
 java.lang.String getLPString()
           
 int getNumCols()
           
 int getNumElements()
           
 int getNumRows()
           
 SWIGTYPE_p_double getObjCoefficients()
           
 double[] getObjCoefficientsVec()
           
 double getObjSense()
           
 double getObjValue()
           
 SWIGTYPE_p_double getReducedCost()
           
 double[] getReducedCostVec()
           
 SWIGTYPE_p_double getRightHandSide()
           
 double[] getRightHandSideVec()
           
 SWIGTYPE_p_double getRowActivity()
           
 double[] getRowActivityVec()
           
 SWIGTYPE_p_double getRowLower()
           
 double[] getRowLowerVec()
           
 SWIGTYPE_p_double getRowPrice()
           
 double[] getRowPriceVec()
           
 SWIGTYPE_p_double getRowRange()
           
 double[] getRowRangeVec()
           
 java.lang.String getRowSense()
           
 char getRowSense(int row)
           
 SWIGTYPE_p_double getRowUpper()
           
 double[] getRowUpperVec()
           
 java.lang.String getStrParam(int key)
           
 CoinWarmStart getWarmStart()
           
 void initialSolve()
           
 boolean isAbandoned()
           
 boolean isBinary(int colIndex)
           
 boolean isContinuous(int colIndex)
           
 boolean isDualObjectiveLimitReached()
           
 boolean isFreeBinary(int colIndex)
           
 boolean isInteger(int colIndex)
           
 boolean isIntegerNonBinary(int colIndex)
           
 boolean isIterationLimitReached()
           
 boolean isPrimalObjectiveLimitReached()
           
 boolean isProvenDualInfeasible()
           
 boolean isProvenOptimal()
           
 boolean isProvenPrimalInfeasible()
           
 void loadProblem(CoinPackedMatrix matrix, SWIGTYPE_p_double collb, SWIGTYPE_p_double colub, SWIGTYPE_p_double obj, java.lang.String rowsen, SWIGTYPE_p_double rowrhs, SWIGTYPE_p_double rowrng)
           
 void loadProblem(CoinPackedMatrix matrix, SWIGTYPE_p_double collb, SWIGTYPE_p_double colub, SWIGTYPE_p_double obj, SWIGTYPE_p_double rowlb, SWIGTYPE_p_double rowub)
           
 void loadProblem(int numcols, int numrows, SWIGTYPE_p_int start, SWIGTYPE_p_int index, SWIGTYPE_p_double value, SWIGTYPE_p_double collb, SWIGTYPE_p_double colub, SWIGTYPE_p_double obj, java.lang.String rowsen, SWIGTYPE_p_double rowrhs, SWIGTYPE_p_double rowrng)
           
 void loadProblem(int numcols, int numrows, SWIGTYPE_p_int start, SWIGTYPE_p_int index, SWIGTYPE_p_double value, SWIGTYPE_p_double collb, SWIGTYPE_p_double colub, SWIGTYPE_p_double obj, SWIGTYPE_p_double rowlb, SWIGTYPE_p_double rowub)
           
 void loadProblemVec(CoinPackedMatrix matrix, double[] collb, double[] colub, double[] obj, double[] rowlb, double[] rowub)
           
 void loadProblemVec(CoinPackedMatrix matrix, double[] collb, double[] colub, double[] obj, java.lang.String rowsen, double[] rowrhs, double[] rowrng)
           
 void loadProblemVec(int[] start, int[] index, double[] value, double[] collb, double[] colub, double[] obj, double[] rowlb, double[] rowub)
           
 void loadProblemVec(int[] start, int[] index, double[] value, double[] collb, double[] colub, double[] obj, java.lang.String rowsen, double[] rowrhs, double[] rowrng)
           
 void markHotStart()
           
 int readFile(java.io.File lpFile)
           
 int readLp(java.lang.String filename)
           
 int readLp(java.lang.String filename, double epsilon)
           
 int readMps(java.lang.String filename)
           
 int readMps(java.lang.String filename, java.lang.String extension)
           
 void reset()
           
 void resolve()
           
 void setColBounds(int elementIndex, double lower, double upper)
           
 void setColLower(int elementIndex, double elementValue)
           
 void setColSetBounds(SWIGTYPE_p_int indexFirst, SWIGTYPE_p_int indexLast, SWIGTYPE_p_double boundList)
           
 void setColSetBoundsVec(int[] indices, double[] boundList)
           
 void setColSolution(SWIGTYPE_p_double colsol)
           
 void setColSolutionVec(double[] sol)
           
 void setColUpper(int elementIndex, double elementValue)
           
 void setContinuous(int index)
           
 void setContinuous(int[] intArr)
           
 void setContinuous(SWIGTYPE_p_int indices, int len)
           
 boolean setDblParam(int key, double value)
           
 boolean setHintParam(int key)
           
 boolean setHintParam(int key, boolean yesNo)
           
 boolean setHintParam(int key, boolean yesNo, int strength)
           
 void setInteger(int index)
           
 void setInteger(int[] intArr)
           
 void setInteger(SWIGTYPE_p_int indices, int len)
           
 boolean setIntParam(int key, int value)
           
 void setObjCoeff(int elementIndex, double elementValue)
           
 void setObjCoeffSet(int[] indices, double[] coeffs)
           
 void setObjCoeffSet(SWIGTYPE_p_int indexFirst, SWIGTYPE_p_int indexLast, SWIGTYPE_p_double coeffList)
           
 void setObjSense(double s)
           
 void setRowBounds(int elementIndex, double lower, double upper)
           
 void setRowLower(int elementIndex, double elementValue)
           
 void setRowPrice(SWIGTYPE_p_double rowprice)
           
 void setRowPriceVec(double[] rowPrice)
           
 void setRowSetBounds(SWIGTYPE_p_int indexFirst, SWIGTYPE_p_int indexLast, SWIGTYPE_p_double boundList)
           
 void setRowSetBoundsVec(int[] indices, double[] boundList)
           
 void setRowSetTypes(SWIGTYPE_p_int indexFirst, SWIGTYPE_p_int indexLast, java.lang.String senseList, SWIGTYPE_p_double rhsList, SWIGTYPE_p_double rangeList)
           
 void setRowSetTypesVec(int[] indices, java.lang.String senseList, double[] rhsList, double[] rangeList)
           
 void setRowType(int index, char sense, double rightHandSide, double range)
           
 void setRowUpper(int elementIndex, double elementValue)
           
 boolean setStrParam(int key, java.lang.String value)
           
 boolean setWarmStart(CoinWarmStart warmstart)
           
 void solveFromHotStart()
           
 java.lang.String toString()
           
 void unmarkHotStart()
           
 void writeLp(java.lang.String filename)
           
 void writeLp(java.lang.String filename, java.lang.String extension)
           
 void writeLp(java.lang.String filename, java.lang.String extension, double epsilon)
           
 void writeLp(java.lang.String filename, java.lang.String extension, double epsilon, int numberAcross)
           
 void writeLp(java.lang.String filename, java.lang.String extension, double epsilon, int numberAcross, int decimals)
           
 void writeLp(java.lang.String filename, java.lang.String extension, double epsilon, int numberAcross, int decimals, double objSense)
           
 void writeLp(java.lang.String filename, java.lang.String extension, double epsilon, int numberAcross, int decimals, double objSense, boolean useRowNames)
           
 int writeLpNative(java.lang.String filename, java.lang.String[] rowNames, java.lang.String[] columnNames)
           
 int writeLpNative(java.lang.String filename, java.lang.String[] rowNames, java.lang.String[] columnNames, double epsilon)
           
 int writeLpNative(java.lang.String filename, java.lang.String[] rowNames, java.lang.String[] columnNames, double epsilon, int numberAcross)
           
 int writeLpNative(java.lang.String filename, java.lang.String[] rowNames, java.lang.String[] columnNames, double epsilon, int numberAcross, int decimals)
           
 int writeLpNative(java.lang.String filename, java.lang.String[] rowNames, java.lang.String[] columnNames, double epsilon, int numberAcross, int decimals, double objSense)
           
 int writeLpNative(java.lang.String filename, java.lang.String[] rowNames, java.lang.String[] columnNames, double epsilon, int numberAcross, int decimals, double objSense, boolean useRowNames)
           
 void writeMps(java.lang.String filename)
           
 void writeMps(java.lang.String filename, java.lang.String extension)
           
 void writeMps(java.lang.String filename, java.lang.String extension, double objSense)
           
 int writeMpsNative(java.lang.String filename, java.lang.String[] rowNames, java.lang.String[] columnNames)
           
 int writeMpsNative(java.lang.String filename, java.lang.String[] rowNames, java.lang.String[] columnNames, int formatType)
           
 int writeMpsNative(java.lang.String filename, java.lang.String[] rowNames, java.lang.String[] columnNames, int formatType, int numberAcross)
           
 int writeMpsNative(java.lang.String filename, java.lang.String[] rowNames, java.lang.String[] columnNames, int formatType, int numberAcross, double objSense)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

swigCMemOwn

protected boolean swigCMemOwn
Constructor Detail

OsiSolverInterface

public OsiSolverInterface(long cPtr,
                          boolean cMemoryOwn)
Method Detail

getCPtr

public static long getCPtr(OsiSolverInterface obj)

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object

delete

public void delete()

getColLowerVec

public double[] getColLowerVec()

getColUpperVec

public double[] getColUpperVec()

getRowSense

public java.lang.String getRowSense()

getRightHandSideVec

public double[] getRightHandSideVec()

getRowRangeVec

public double[] getRowRangeVec()

getRowLowerVec

public double[] getRowLowerVec()

getRowUpperVec

public double[] getRowUpperVec()

getObjCoefficientsVec

public double[] getObjCoefficientsVec()

getColSolutionVec

public double[] getColSolutionVec()

getRowPriceVec

public double[] getRowPriceVec()

getReducedCostVec

public double[] getReducedCostVec()

getRowActivityVec

public double[] getRowActivityVec()

setObjCoeffSet

public void setObjCoeffSet(int[] indices,
                           double[] coeffs)

setColSetBoundsVec

public void setColSetBoundsVec(int[] indices,
                               double[] boundList)

setRowSetBoundsVec

public void setRowSetBoundsVec(int[] indices,
                               double[] boundList)

setRowSetTypesVec

public void setRowSetTypesVec(int[] indices,
                              java.lang.String senseList,
                              double[] rhsList,
                              double[] rangeList)

setColSolutionVec

public void setColSolutionVec(double[] sol)

setRowPriceVec

public void setRowPriceVec(double[] rowPrice)

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

addCols

public void addCols(CoinPackedVectorBase[] cols,
                    double[] collb,
                    double[] colub,
                    double[] obj)

addColsVec

public void addColsVec(int[] columnStarts,
                       int[] rows,
                       double[] elements,
                       double[] collb,
                       double[] colub,
                       double[] obj)

deleteColsVec

public void deleteColsVec(int[] colIndices)

addRows

public void addRows(CoinPackedVectorBase[] rows,
                    double[] rowlb,
                    double[] rowub)

addRows

public void addRows(CoinPackedVectorBase[] rows,
                    java.lang.String rowsen,
                    double[] rowrhs,
                    double[] rowrng)

addRowsVec

public void addRowsVec(int[] rowStarts,
                       int[] columns,
                       double[] element,
                       double[] rowlb,
                       double[] rowub)

loadProblemVec

public void loadProblemVec(CoinPackedMatrix matrix,
                           double[] collb,
                           double[] colub,
                           double[] obj,
                           double[] rowlb,
                           double[] rowub)

loadProblemVec

public void loadProblemVec(CoinPackedMatrix matrix,
                           double[] collb,
                           double[] colub,
                           double[] obj,
                           java.lang.String rowsen,
                           double[] rowrhs,
                           double[] rowrng)

loadProblemVec

public void loadProblemVec(int[] start,
                           int[] index,
                           double[] value,
                           double[] collb,
                           double[] colub,
                           double[] obj,
                           double[] rowlb,
                           double[] rowub)

loadProblemVec

public void loadProblemVec(int[] start,
                           int[] index,
                           double[] value,
                           double[] collb,
                           double[] colub,
                           double[] obj,
                           java.lang.String rowsen,
                           double[] rowrhs,
                           double[] rowrng)

readFile

public int readFile(java.io.File lpFile)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

initialSolve

public void initialSolve()

resolve

public void resolve()

branchAndBound

public void branchAndBound()

setIntParam

public boolean setIntParam(int key,
                           int value)

setDblParam

public boolean setDblParam(int key,
                           double value)

setStrParam

public boolean setStrParam(int key,
                           java.lang.String value)

setHintParam

public boolean setHintParam(int key,
                            boolean yesNo,
                            int strength)

setHintParam

public boolean setHintParam(int key,
                            boolean yesNo)

setHintParam

public boolean setHintParam(int key)

getIntParam

public int getIntParam(int key)

checkIntParam

public boolean checkIntParam(int key)

getDblParam

public double getDblParam(int key)

checkDblParam

public boolean checkDblParam(int key)

getStrParam

public java.lang.String getStrParam(int key)

checkStrParam

public boolean checkStrParam(int key)

getHintParam

public boolean getHintParam(int key)

checkHintParam

public boolean checkHintParam(int key)

copyParameters

public void copyParameters(OsiSolverInterface rhs)

isAbandoned

public boolean isAbandoned()

isProvenOptimal

public boolean isProvenOptimal()

isProvenPrimalInfeasible

public boolean isProvenPrimalInfeasible()

isProvenDualInfeasible

public boolean isProvenDualInfeasible()

isPrimalObjectiveLimitReached

public boolean isPrimalObjectiveLimitReached()

isDualObjectiveLimitReached

public boolean isDualObjectiveLimitReached()

isIterationLimitReached

public boolean isIterationLimitReached()

getEmptyWarmStart

public CoinWarmStart getEmptyWarmStart()

getWarmStart

public CoinWarmStart getWarmStart()

setWarmStart

public boolean setWarmStart(CoinWarmStart warmstart)

markHotStart

public void markHotStart()

solveFromHotStart

public void solveFromHotStart()

unmarkHotStart

public void unmarkHotStart()

getNumCols

public int getNumCols()

getNumRows

public int getNumRows()

getNumElements

public int getNumElements()

getColLower

public SWIGTYPE_p_double getColLower()

getColUpper

public SWIGTYPE_p_double getColUpper()

getRowSense

public char getRowSense(int row)

getRightHandSide

public SWIGTYPE_p_double getRightHandSide()

getRowRange

public SWIGTYPE_p_double getRowRange()

getRowLower

public SWIGTYPE_p_double getRowLower()

getRowUpper

public SWIGTYPE_p_double getRowUpper()

getObjCoefficients

public SWIGTYPE_p_double getObjCoefficients()

getObjSense

public double getObjSense()

isContinuous

public boolean isContinuous(int colIndex)

isBinary

public boolean isBinary(int colIndex)

isInteger

public boolean isInteger(int colIndex)

isIntegerNonBinary

public boolean isIntegerNonBinary(int colIndex)

isFreeBinary

public boolean isFreeBinary(int colIndex)

getInfinity

public double getInfinity()

getColSolution

public SWIGTYPE_p_double getColSolution()

getRowPrice

public SWIGTYPE_p_double getRowPrice()

getReducedCost

public SWIGTYPE_p_double getReducedCost()

getRowActivity

public SWIGTYPE_p_double getRowActivity()

getObjValue

public double getObjValue()

getIterationCount

public int getIterationCount()

setObjCoeff

public void setObjCoeff(int elementIndex,
                        double elementValue)

setObjCoeffSet

public void setObjCoeffSet(SWIGTYPE_p_int indexFirst,
                           SWIGTYPE_p_int indexLast,
                           SWIGTYPE_p_double coeffList)

setColLower

public void setColLower(int elementIndex,
                        double elementValue)

setColUpper

public void setColUpper(int elementIndex,
                        double elementValue)

setColBounds

public void setColBounds(int elementIndex,
                         double lower,
                         double upper)

setColSetBounds

public void setColSetBounds(SWIGTYPE_p_int indexFirst,
                            SWIGTYPE_p_int indexLast,
                            SWIGTYPE_p_double boundList)

setRowLower

public void setRowLower(int elementIndex,
                        double elementValue)

setRowUpper

public void setRowUpper(int elementIndex,
                        double elementValue)

setRowBounds

public void setRowBounds(int elementIndex,
                         double lower,
                         double upper)

setRowType

public void setRowType(int index,
                       char sense,
                       double rightHandSide,
                       double range)

setRowSetBounds

public void setRowSetBounds(SWIGTYPE_p_int indexFirst,
                            SWIGTYPE_p_int indexLast,
                            SWIGTYPE_p_double boundList)

setRowSetTypes

public void setRowSetTypes(SWIGTYPE_p_int indexFirst,
                           SWIGTYPE_p_int indexLast,
                           java.lang.String senseList,
                           SWIGTYPE_p_double rhsList,
                           SWIGTYPE_p_double rangeList)

setObjSense

public void setObjSense(double s)

setColSolution

public void setColSolution(SWIGTYPE_p_double colsol)

setRowPrice

public void setRowPrice(SWIGTYPE_p_double rowprice)

setContinuous

public void setContinuous(int index)

setInteger

public void setInteger(int index)

setContinuous

public void setContinuous(SWIGTYPE_p_int indices,
                          int len)

setContinuous

public void setContinuous(int[] intArr)

setInteger

public void setInteger(SWIGTYPE_p_int indices,
                       int len)

setInteger

public void setInteger(int[] intArr)

addCol

public void addCol(CoinPackedVectorBase vec,
                   double collb,
                   double colub,
                   double obj)

addCol

public void addCol(int numberElements,
                   SWIGTYPE_p_int rows,
                   SWIGTYPE_p_double elements,
                   double collb,
                   double colub,
                   double obj)

addCol

public void addCol(int[] intArr,
                   double[] doubleArr,
                   double collb,
                   double colub,
                   double obj)

addCols

public void addCols(int numcols,
                    SWIGTYPE_p_int columnStarts,
                    SWIGTYPE_p_int rows,
                    SWIGTYPE_p_double elements,
                    SWIGTYPE_p_double collb,
                    SWIGTYPE_p_double colub,
                    SWIGTYPE_p_double obj)

deleteCols

public void deleteCols(int num,
                       SWIGTYPE_p_int colIndices)

deleteCols

public void deleteCols(int[] intArr)

addRow

public void addRow(CoinPackedVectorBase vec,
                   double rowlb,
                   double rowub)

addRow

public void addRow(CoinPackedVectorBase vec,
                   char rowsen,
                   double rowrhs,
                   double rowrng)

addRow

public void addRow(int numberElements,
                   SWIGTYPE_p_int columns,
                   SWIGTYPE_p_double element,
                   double rowlb,
                   double rowub)

addRow

public void addRow(int[] intArr,
                   double[] doubleArr,
                   double rowlb,
                   double rowub)

addRows

public void addRows(int numrows,
                    SWIGTYPE_p_int rowStarts,
                    SWIGTYPE_p_int columns,
                    SWIGTYPE_p_double element,
                    SWIGTYPE_p_double rowlb,
                    SWIGTYPE_p_double rowub)

applyCuts

public int applyCuts(OsiCuts cs,
                     double effectivenessLb)

applyCuts

public int applyCuts(OsiCuts cs)

deleteRows

public void deleteRows(int num,
                       SWIGTYPE_p_int rowIndices)

deleteRows

public void deleteRows(int[] intArr)

loadProblem

public void loadProblem(CoinPackedMatrix matrix,
                        SWIGTYPE_p_double collb,
                        SWIGTYPE_p_double colub,
                        SWIGTYPE_p_double obj,
                        SWIGTYPE_p_double rowlb,
                        SWIGTYPE_p_double rowub)

loadProblem

public void loadProblem(CoinPackedMatrix matrix,
                        SWIGTYPE_p_double collb,
                        SWIGTYPE_p_double colub,
                        SWIGTYPE_p_double obj,
                        java.lang.String rowsen,
                        SWIGTYPE_p_double rowrhs,
                        SWIGTYPE_p_double rowrng)

loadProblem

public void loadProblem(int numcols,
                        int numrows,
                        SWIGTYPE_p_int start,
                        SWIGTYPE_p_int index,
                        SWIGTYPE_p_double value,
                        SWIGTYPE_p_double collb,
                        SWIGTYPE_p_double colub,
                        SWIGTYPE_p_double obj,
                        SWIGTYPE_p_double rowlb,
                        SWIGTYPE_p_double rowub)

loadProblem

public void loadProblem(int numcols,
                        int numrows,
                        SWIGTYPE_p_int start,
                        SWIGTYPE_p_int index,
                        SWIGTYPE_p_double value,
                        SWIGTYPE_p_double collb,
                        SWIGTYPE_p_double colub,
                        SWIGTYPE_p_double obj,
                        java.lang.String rowsen,
                        SWIGTYPE_p_double rowrhs,
                        SWIGTYPE_p_double rowrng)

readMps

public int readMps(java.lang.String filename,
                   java.lang.String extension)

readMps

public int readMps(java.lang.String filename)

writeMps

public void writeMps(java.lang.String filename,
                     java.lang.String extension,
                     double objSense)

writeMps

public void writeMps(java.lang.String filename,
                     java.lang.String extension)

writeMps

public void writeMps(java.lang.String filename)

writeMpsNative

public int writeMpsNative(java.lang.String filename,
                          java.lang.String[] rowNames,
                          java.lang.String[] columnNames,
                          int formatType,
                          int numberAcross,
                          double objSense)

writeMpsNative

public int writeMpsNative(java.lang.String filename,
                          java.lang.String[] rowNames,
                          java.lang.String[] columnNames,
                          int formatType,
                          int numberAcross)

writeMpsNative

public int writeMpsNative(java.lang.String filename,
                          java.lang.String[] rowNames,
                          java.lang.String[] columnNames,
                          int formatType)

writeMpsNative

public int writeMpsNative(java.lang.String filename,
                          java.lang.String[] rowNames,
                          java.lang.String[] columnNames)

writeLp

public void writeLp(java.lang.String filename,
                    java.lang.String extension,
                    double epsilon,
                    int numberAcross,
                    int decimals,
                    double objSense,
                    boolean useRowNames)

writeLp

public void writeLp(java.lang.String filename,
                    java.lang.String extension,
                    double epsilon,
                    int numberAcross,
                    int decimals,
                    double objSense)

writeLp

public void writeLp(java.lang.String filename,
                    java.lang.String extension,
                    double epsilon,
                    int numberAcross,
                    int decimals)

writeLp

public void writeLp(java.lang.String filename,
                    java.lang.String extension,
                    double epsilon,
                    int numberAcross)

writeLp

public void writeLp(java.lang.String filename,
                    java.lang.String extension,
                    double epsilon)

writeLp

public void writeLp(java.lang.String filename,
                    java.lang.String extension)

writeLp

public void writeLp(java.lang.String filename)

writeLpNative

public int writeLpNative(java.lang.String filename,
                         java.lang.String[] rowNames,
                         java.lang.String[] columnNames,
                         double epsilon,
                         int numberAcross,
                         int decimals,
                         double objSense,
                         boolean useRowNames)

writeLpNative

public int writeLpNative(java.lang.String filename,
                         java.lang.String[] rowNames,
                         java.lang.String[] columnNames,
                         double epsilon,
                         int numberAcross,
                         int decimals,
                         double objSense)

writeLpNative

public int writeLpNative(java.lang.String filename,
                         java.lang.String[] rowNames,
                         java.lang.String[] columnNames,
                         double epsilon,
                         int numberAcross,
                         int decimals)

writeLpNative

public int writeLpNative(java.lang.String filename,
                         java.lang.String[] rowNames,
                         java.lang.String[] columnNames,
                         double epsilon,
                         int numberAcross)

writeLpNative

public int writeLpNative(java.lang.String filename,
                         java.lang.String[] rowNames,
                         java.lang.String[] columnNames,
                         double epsilon)

writeLpNative

public int writeLpNative(java.lang.String filename,
                         java.lang.String[] rowNames,
                         java.lang.String[] columnNames)

readLp

public int readLp(java.lang.String filename,
                  double epsilon)

readLp

public int readLp(java.lang.String filename)

getLPString

public java.lang.String getLPString()

cloneSolver

public OsiSolverInterface cloneSolver(boolean copyData)

cloneSolver

public OsiSolverInterface cloneSolver()

assign

public OsiSolverInterface assign(OsiSolverInterface rhs)

reset

public void reset()