#include <string>
#include <cfloat>
#include <map>
#include "ClpSimplex.hpp"
#include "ClpLinearObjective.hpp"
#include "CoinPackedMatrix.hpp"
#include "OsiSolverInterface.hpp"
#include "CoinWarmStartBasis.hpp"
#include "ClpEventHandler.hpp"
#include "ClpNode.hpp"
#include "CoinIndexedVector.hpp"
Go to the source code of this file.
int OsiClpSolverInterfaceUnitTest |
( |
const std::string & |
mpsDir, |
|
|
const std::string & |
netlibDir |
|
) |
| |
A function that tests the methods in the OsiClpSolverInterface class.
The only reason for it not to be a member method is that this way it doesn't have to be compiled into the library. And that's a gain, because the library should be compiled with optimization on, but this method should be compiled with debugging. Also, if this method is compiled with optimization, the compilation takes 10-15 minutes and the machine pages (has 256M core memory!)...
const double OsiClpInfinity = DBL_MAX |
|
static |