|
Bonmin 1.8.9
|
Class for strengthening OA cuts, and generating additional ones. More...
#include <BonCutStrengthener.hpp>
Public Member Functions | |
Constructor/Destructor | |
| CutStrengthener (Ipopt::SmartPtr< TNLPSolver > tnlp_solver, Ipopt::SmartPtr< Ipopt::OptionsList > options) | |
| Constructor. | |
| virtual | ~CutStrengthener () |
| Destructor. | |
| bool | ComputeCuts (OsiCuts &cs, TMINLP *tminlp, TMINLP2TNLP *problem, const int gindex, CoinPackedVector &cut, double &cut_lb, double &cut_ub, const double g_val, const double g_lb, const double g_ub, int n, const double *x, double infty) |
| Method for generating and strenghtening all desired cuts. | |
| Public Member Functions inherited from Ipopt::ReferencedObject | |
| ReferencedObject () | |
| virtual | ~ReferencedObject () |
| Index | ReferenceCount () const |
| void | AddRef (const Referencer *referencer) const |
| void | ReleaseRef (const Referencer *referencer) const |
Class for strengthening OA cuts, and generating additional ones.
Definition at line 32 of file BonCutStrengthener.hpp.
| Bonmin::CutStrengthener::CutStrengthener | ( | Ipopt::SmartPtr< TNLPSolver > | tnlp_solver, |
| Ipopt::SmartPtr< Ipopt::OptionsList > | options ) |
Constructor.
It is given a TNLP solver to solve the internal NLPs.
|
virtual |
Destructor.
| bool Bonmin::CutStrengthener::ComputeCuts | ( | OsiCuts & | cs, |
| TMINLP * | tminlp, | ||
| TMINLP2TNLP * | problem, | ||
| const int | gindex, | ||
| CoinPackedVector & | cut, | ||
| double & | cut_lb, | ||
| double & | cut_ub, | ||
| const double | g_val, | ||
| const double | g_lb, | ||
| const double | g_ub, | ||
| int | n, | ||
| const double * | x, | ||
| double | infty ) |
Method for generating and strenghtening all desired cuts.