/home/coin/SVN-release/OS-2.4.1/examples/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 "OSnl2osil.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 ()


Detailed Description

Author:
Horand Gassmann, Jun Ma, Kipp Martin
Remarks:
Copyright (C) 2008-2011, Horand Gassmann, Jun Ma, Kipp Martin, Dalhousie University, Northwestern University, and the University of Chicago. All Rights Reserved. This software is licensed under the Eclipse Public License. Please see the accompanying LICENSE file in root directory for terms.

Definition in file OSSolverDemo.cpp.


Function Documentation

void getOSResult ( std::string  osrl  ) 

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


Generated on Thu Nov 10 03:10:42 2011 by  doxygen 1.4.7