Initializing help system before first use

Solution

Solution data. More...

#include <xpress.hpp>

Inheritance diagram for xpress::XPRSProblem::Solution:
xpress::XPRSProblem::StatusSolution

Public Member Functions

  Solution ()
 
  Solution (int rows, int cols, bool hasDuals)
 

Public Attributes

std::vector< double >  djs
  Dual values for variables (reduced costs).
 
std::vector< double >  duals
  Dual values for constraints.
 
std::vector< double >  slack
  Primal row slacks.
 
std::vector< double >  x
  Primal x vector.
 

Detailed Description

Solution data.

Since
44.00

Constructor & Destructor Documentation

Solution() [1/2]

xpress::XPRSProblem::Solution::Solution ( )
inline
Since
44.00

Solution() [2/2]

xpress::XPRSProblem::Solution::Solution ( int rows,
int cols,
bool hasDuals )
inline
Since
44.00

Member Data Documentation

djs

std::vector<double> xpress::XPRSProblem::Solution::djs

Dual values for variables (reduced costs).

This will be nullptr for MIP solutions.

Since
44.00

duals

std::vector<double> xpress::XPRSProblem::Solution::duals

Dual values for constraints.

This will be nullptr for MIP solutions.

Since
44.00

slack

std::vector<double> xpress::XPRSProblem::Solution::slack

Primal row slacks.

Since
44.00

x

std::vector<double> xpress::XPRSProblem::Solution::x

Primal x vector.

Since
44.00

The documentation for this class was generated from the following file:
  • xpress.hpp

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.