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.
| CouenneInfo::NlpSolution::NlpSolution | ( | int | n, | |
| const double * | sol, | |||
| double | objval | |||
| ) |
Definition at line 42 of file BonCouenneInfo.cpp.
| CouenneInfo::NlpSolution::~NlpSolution | ( | ) |
Definition at line 51 of file BonCouenneInfo.cpp.
| 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.
| double Couenne::CouenneInfo::NlpSolution::objVal | ( | ) | const [inline] |
Definition at line 41 of file BonCouenneInfo.hpp.
| int Couenne::CouenneInfo::NlpSolution::nVars | ( | ) | const [inline] |
Definition at line 45 of file BonCouenneInfo.hpp.
| void Couenne::CouenneInfo::NlpSolution::operator= | ( | const NlpSolution & | ) | [private] |
int Couenne::CouenneInfo::NlpSolution::n_ [private] |
number of variables
Definition at line 58 of file BonCouenneInfo.hpp.
double* Couenne::CouenneInfo::NlpSolution::sol_ [private] |
values of the stored solution
Definition at line 60 of file BonCouenneInfo.hpp.
double Couenne::CouenneInfo::NlpSolution::objVal_ [private] |
objective function of stored solution
Definition at line 62 of file BonCouenneInfo.hpp.
1.6.1