Class for storing an Nlp Solution. More...
#include <BonCouenneInfo.hpp>
Public Member Functions | |
NlpSolution (int n, const double *sol, double objval) | |
~NlpSolution () | |
Private Attributes | |
int | n_ |
number of variables | |
double * | sol_ |
values of the stored solution | |
double | objVal_ |
objective function of stored solution | |
Accessor methods | |
| |
const double * | solution () const |
double | objVal () const |
int | nVars () const |
NlpSolution () | |
NlpSolution (const NlpSolution &) | |
void | operator= (const NlpSolution &) |
Class for storing an Nlp Solution.
Definition at line 26 of file BonCouenneInfo.hpp.
Couenne::CouenneInfo::NlpSolution::NlpSolution | ( | int | n, | |
const double * | sol, | |||
double | objval | |||
) |
Couenne::CouenneInfo::NlpSolution::~NlpSolution | ( | ) |
Couenne::CouenneInfo::NlpSolution::NlpSolution | ( | ) | [private] |
Couenne::CouenneInfo::NlpSolution::NlpSolution | ( | const NlpSolution & | ) | [private] |
const double* Couenne::CouenneInfo::NlpSolution::solution | ( | ) | const [inline] |
Definition at line 37 of file BonCouenneInfo.hpp.
References sol_.
double Couenne::CouenneInfo::NlpSolution::objVal | ( | ) | const [inline] |
Definition at line 41 of file BonCouenneInfo.hpp.
References objVal_.
int Couenne::CouenneInfo::NlpSolution::nVars | ( | ) | const [inline] |
Definition at line 45 of file BonCouenneInfo.hpp.
References n_.
void Couenne::CouenneInfo::NlpSolution::operator= | ( | const NlpSolution & | ) | [private] |
int Couenne::CouenneInfo::NlpSolution::n_ [private] |
double* Couenne::CouenneInfo::NlpSolution::sol_ [private] |
values of the stored solution
Definition at line 60 of file BonCouenneInfo.hpp.
Referenced by solution().
double Couenne::CouenneInfo::NlpSolution::objVal_ [private] |
objective function of stored solution
Definition at line 62 of file BonCouenneInfo.hpp.
Referenced by objVal().