Pool of solutions. More...
#include <CouenneFPpool.hpp>

Public Member Functions | |
| CouenneFPpool (CouenneProblem *p, enum what_to_compare c) | |
| simple constructor (empty pool) | |
| CouenneFPpool (const CouenneFPpool &src) | |
| copy constructor | |
| CouenneFPpool & | operator= (const CouenneFPpool &src) |
| assignment | |
| std::set< CouenneFPsolution, compareSol > & | Set () |
| return the main object in this class | |
| CouenneProblem * | Problem () |
| return the problem pointer | |
| void | findClosestAndReplace (double *&sol, const double *nSol, int nvars) |
| finds, in pool, solution x closest to sol; removes it from the pool and overwrites it to sol | |
Protected Attributes | |
| std::set< CouenneFPsolution, compareSol > | set_ |
| Pool. | |
| CouenneProblem * | problem_ |
| Problem pointer. | |
Pool of solutions.
Definition at line 91 of file CouenneFPpool.hpp.
| Couenne::CouenneFPpool::CouenneFPpool | ( | CouenneProblem * | p, | |
| enum what_to_compare | c | |||
| ) | [inline] |
simple constructor (empty pool)
Definition at line 104 of file CouenneFPpool.hpp.
| CouenneFPpool::CouenneFPpool | ( | const CouenneFPpool & | src | ) |
copy constructor
Definition at line 199 of file CouenneFPpool.cpp.
| CouenneFPpool & CouenneFPpool::operator= | ( | const CouenneFPpool & | src | ) |
assignment
Definition at line 205 of file CouenneFPpool.cpp.
| std::set<CouenneFPsolution, compareSol>& Couenne::CouenneFPpool::Set | ( | ) | [inline] |
return the main object in this class
Definition at line 114 of file CouenneFPpool.hpp.
| CouenneProblem* Couenne::CouenneFPpool::Problem | ( | ) | [inline] |
return the problem pointer
Definition at line 118 of file CouenneFPpool.hpp.
| void CouenneFPpool::findClosestAndReplace | ( | double *& | sol, | |
| const double * | nSol, | |||
| int | nvars | |||
| ) |
finds, in pool, solution x closest to sol; removes it from the pool and overwrites it to sol
finds, in pool, solution x closest to nSol; removes it from the pool and overwrites it to sol
forget about this variable if eliminated by reformulation
Definition at line 234 of file CouenneFPpool.cpp.
std::set<CouenneFPsolution, compareSol> Couenne::CouenneFPpool::set_ [protected] |
Pool.
Definition at line 96 of file CouenneFPpool.hpp.
CouenneProblem* Couenne::CouenneFPpool::problem_ [protected] |
Problem pointer.
Definition at line 99 of file CouenneFPpool.hpp.
1.6.1