- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# /home/coin/SVN-release/OS-2.3.5/ApplicationTemplates/osSolverDemo/OSSolverDemo.cpp File Reference

`#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 ()

## Function Documentation

void getOSResult | ( | std::string | osrl | ) |

Definition at line 585 of file OSSolverDemo.cpp.

References OSResult::getOptimalObjValue(), OSResult::getOptimalPrimalVariableValues(), OSResult::getSolutionStatusDescription(), OSResult::getSolutionStatusType(), osresult, and OSrLReader::readOSrL().

Referenced by main().

int main | ( |  | ) |

Definition at line 65 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.