#include <OSrLWriter.h>
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 OtherConstraintResult::con, DualVariableValues::con, ConstraintValues::con, OptimizationSolution::constraints, OtherConstraintResult::description, OtherObjectiveResult::description, OtherVariableResult::description, OptimizationSolutionStatus::description, GeneralStatus::description, ConstraintSolution::dualValues, ResultHeader::generalStatus, ResultHeader::instanceName, ResultHeader::jobID, m_OSResult, OptimizationSolution::message, ResultHeader::message, OtherConstraintResult::name, OtherObjectiveResult::name, OtherVariableResult::name, OptimizationResult::numberOfConstraints, OptimizationResult::numberOfObjectives, ConstraintSolution::numberOfOtherConstraintResult, ObjectiveSolution::numberOfOtherObjectiveResult, VariableSolution::numberOfOtherVariableResult, OptimizationResult::numberOfSolutions, OptimizationResult::numberOfVariables, OtherObjectiveResult::obj, ObjectiveValues::obj, OptimizationSolution::objectiveIdx, OptimizationSolution::objectives, ResultData::optimization, ConstraintSolution::other, ObjectiveSolution::other, VariableSolution::other, OSResult::resultData, OSResult::resultHeader, ResultHeader::serviceName, ResultHeader::serviceURI, OptimizationResult::solution, OptimizationSolution::status, ResultHeader::time, OptimizationSolutionStatus::type, GeneralStatus::type, ConstraintSolution::values, ObjectiveSolution::values, 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().