#include <OSrLWriter.h>
Collaboration diagram for OSrLWriter:
Public Member Functions | |
OSrLWriter () | |
Default constructor. | |
~OSrLWriter () | |
Class destructor. | |
std::string | writeOSrL (OSResult *theosresult) |
create an osrl string from an OSResult object | |
Private Attributes | |
OSResult * | m_OSResult |
m_OSResult is an object in the class OSResult, the data in m_OSResult are written to a string that validates against OSrL |
Definition at line 31 of file OSrLWriter.h.
OSrLWriter::OSrLWriter | ( | ) |
OSrLWriter::~OSrLWriter | ( | ) |
std::string OSrLWriter::writeOSrL | ( | OSResult * | theosresult | ) |
create an osrl string from an OSResult object
theosresult | is a pointer to an OSResult object |
Definition at line 55 of file OSrLWriter.cpp.
References OtherVariableResult::description, OptimizationSolutionStatus::description, GeneralStatus::description, ResultHeader::generalStatus, ResultHeader::instanceName, ResultHeader::jobID, m_OSResult, OptimizationSolution::message, ResultHeader::message, OtherVariableResult::name, OptimizationResult::numberOfConstraints, OptimizationResult::numberOfObjectives, VariableSolution::numberOfOtherVariableResult, OptimizationResult::numberOfSolutions, OptimizationResult::numberOfVariables, OptimizationSolution::objectiveIdx, ResultData::optimization, VariableSolution::other, OSResult::resultData, OSResult::resultHeader, ResultHeader::serviceName, ResultHeader::serviceURI, OptimizationResult::solution, OptimizationSolution::status, ResultHeader::time, OptimizationSolutionStatus::type, GeneralStatus::type, VariableSolution::values, OtherVariableResult::var, VariableValues::var, and OptimizationSolution::variables.
Referenced by LindoSolver::buildSolverInstance(), KnitroSolver::buildSolverInstance(), IpoptSolver::buildSolverInstance(), CoinSolver::buildSolverInstance(), IpoptProblem::finalize_solution(), LindoSolver::generateLindoModel(), CoinSolver::getCoinSolverType(), getJobID(), kill(), knock(), main(), LindoSolver::optimize(), LindoSolver::processConstraints(), LindoSolver::processNonlinearExpressions(), LindoSolver::processQuadraticTerms(), LindoSolver::processVariables(), retrieve(), send(), CoinSolver::setCoinPackedMatrix(), solve(), LindoSolver::solve(), KnitroSolver::solve(), IpoptSolver::solve(), and CoinSolver::solve().
OSResult* OSrLWriter::m_OSResult [private] |
m_OSResult is an object in the class OSResult, the data in m_OSResult are written to a string that validates against OSrL
Definition at line 37 of file OSrLWriter.h.
Referenced by writeOSrL().