#include "OSConfig.h"
#include "OSCoinSolver.h"
#include "OSIpoptSolver.h"
#include "OSResult.h"
#include "OSiLReader.h"
#include "OSiLWriter.h"
#include "OSrLReader.h"
#include "OSrLWriter.h"
#include "OSInstance.h"
#include "OSOption.h"
#include "OSoLWriter.h"
#include "OSFileUtil.h"
#include "OSDefaultSolver.h"
#include "OShL.h"
#include "OSErrorClass.h"
#include "OSmps2osil.h"
#include "OSBase64.h"
#include "OSMathUtil.h"
#include "CoinError.hpp"
#include "CoinHelperFunctions.hpp"
#include <iostream>
Include dependency graph for OSSolverDemo.cpp:
Go to the source code of this file.
Functions | |
void | getOSResult (std::string osrl) |
int | main () |
void getOSResult | ( | std::string | osrl | ) |
Definition at line 576 of file OSSolverDemo.cpp.
References OSResult::getOptimalObjValue(), OSResult::getOptimalPrimalVariableValues(), OSResult::getSolutionStatusDescription(), OSResult::getSolutionStatusType(), osresult, and OSrLReader::readOSrL().
Referenced by main().
int main | ( | void | ) |
Definition at line 66 of file OSSolverDemo.cpp.
References DefaultSolver::buildSolverInstance(), OSnl2osil::createOSInstance(), OSmps2osil::createOSInstance(), ErrorClass::errormsg, FileUtil::getFileAsString(), getOSResult(), OSInstance::getVariableNumber(), DefaultSolver::osil, OSnl2osil::osinstance, DefaultSolver::osinstance, OSmps2osil::osinstance, osinstance, DefaultSolver::osol, DefaultSolver::osoption, osoption, DefaultSolver::osrl, OSiLReader::readOSiL(), OSOption::setAnotherSolverOption(), OSOption::setInitVarValuesDense(), DefaultSolver::setSolverOptions(), DefaultSolver::solve(), and DefaultSolver::sSolverName.