net.sourceforge.swimp.test.coin
Class OsiLPFromMpsFileFixture

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.sourceforge.swimp.test.util.SwimpBaseTestCase
              extended by net.sourceforge.swimp.test.coin.OsiLPFromMpsFileFixture
All Implemented Interfaces:
junit.framework.Test

public class OsiLPFromMpsFileFixture
extends SwimpBaseTestCase

Author:
schickin

Field Summary
protected static double[] colSolutionVec
           
protected static double objValue
           
protected static double[] redCostVec
           
protected static double[] rowPriceVec
           
 
Fields inherited from class net.sourceforge.swimp.test.util.SwimpBaseTestCase
tmpFilePrefix, tmpFileSuffix
 
Constructor Summary
OsiLPFromMpsFileFixture(OsiSolverInterface solver)
           
 
Method Summary
 void checkCloneSolverWithCopy()
           
 void checkCloneSolverWithoutCopy()
           
 void checkGetAndSetParams()
           
 void checkGetLPString()
           
 void checkIPSolver(double precision)
           
 void checkProblemQueryMethods()
           
 void checkReadErroneousMpsFile()
           
 void checkSetObjCoeff()
           
 void checkSolver(double precision)
           
 void checkWarmStart(double precision)
           
 void checkWriteAndReadLp()
           
 void checkWriteAndReadMps()
           
 
Methods inherited from class net.sourceforge.swimp.test.util.SwimpBaseTestCase
getSwimpProperties, getSwimpRootDir, getTestDataFile, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

colSolutionVec

protected static final double[] colSolutionVec

rowPriceVec

protected static final double[] rowPriceVec

redCostVec

protected static final double[] redCostVec

objValue

protected static final double objValue
See Also:
Constant Field Values
Constructor Detail

OsiLPFromMpsFileFixture

public OsiLPFromMpsFileFixture(OsiSolverInterface solver)
Method Detail

checkReadErroneousMpsFile

public void checkReadErroneousMpsFile()

checkProblemQueryMethods

public void checkProblemQueryMethods()

checkGetLPString

public void checkGetLPString()

checkCloneSolverWithCopy

public void checkCloneSolverWithCopy()

checkCloneSolverWithoutCopy

public void checkCloneSolverWithoutCopy()

checkWriteAndReadMps

public void checkWriteAndReadMps()
                          throws java.io.IOException
Throws:
java.io.IOException

checkWriteAndReadLp

public void checkWriteAndReadLp()
                         throws java.io.IOException
Throws:
java.io.IOException

checkSolver

public void checkSolver(double precision)

checkWarmStart

public void checkWarmStart(double precision)

checkSetObjCoeff

public void checkSetObjCoeff()

checkIPSolver

public void checkIPSolver(double precision)

checkGetAndSetParams

public void checkGetAndSetParams()