44#include "OsiSolverInterface.hpp"
175 void KeepBestLambda(
const bool KBL =
true );
179 void SetNDOLog( ostream *outs = 0 ,
const char lvl = 0 );
257 throw NDOException(
"CutPlane::ChgFiV not implemented yet" );
265 throw NDOException(
"CutPlane::ChgSbG not implemented yet" );
303 inline void FiAndGi(
void );
319 inline void OutRsts(
void );
325 inline void MemDealloc(
void );
368 OsiSolverInterface *OsiS;
void SetRadius(LMNum rad=Inf< LMNum >())
void SetLambda(cLMRow tLambda=0)
void SetOsiSolver(OsiSolverInterface *osi=0)
Sets the OsiSolver to be used by CutPlane to solve the RMP.
virtual ~CutPlane()
Destructor. It must be virtual.
HpNum ReadFiVal(cIndex wFi=Inf< Index >())
void ChgSbG(cIndex strt=0, Index stp=Inf< Index >(), cIndex wFi=Inf< Index >())
Definition CutPlane.h:262
bool IsOptimal(HpNum eps=0) const
void RemoveVariables(cIndex_Set whch=0, Index hwmny=0)
HpNum ReadBestFiVal(cIndex wFi=Inf< Index >())
cHpRow ReadMult(cIndex_Set &I, Index &D, cIndex wFi=Inf< Index >())
void SetFiOracle(FiOracle *Fi=0)
CutPlane(std::istream *iStrm=0)
void SetNDOLog(ostream *outs=0, const char lvl=0)
HpNum ReadLBMult(cIndex wFi=Inf< Index >())
cLMRow ReadSol(cIndex_Set &I, Index &D)
! void ReSetAlg( unsigned char RstLvl = 0 ) {}
cLMRow ReadBestSol(cIndex_Set &I, Index &D)
void AddVariables(Index NNwVrs, cLMRow IVs=0)
void ChgFiV(cIndex wFi=Inf< Index >())
Definition CutPlane.h:255
Definition FiOracle.h:231
NDOStatus
Definition NDOSlver.h:91
int SIndex
Definition OPTtypes.h:69
HpNum * HpRow
"finer" (fp) array
Definition OPTtypes.h:99
double HpNum
"finer" floating point numbers
Definition OPTtypes.h:98
const Index cIndex
a read-only Index
Definition OPTtypes.h:64
cIndex * cIndex_Set
read-only array
Definition OPTtypes.h:65
Index * Index_Set
set (array) of indices
Definition OPTtypes.h:61
unsigned int Index
Index in a vector ( >= 0 )
Definition OPTtypes.h:60
cHpNum * cHpRow
read-only array
Definition OPTtypes.h:103
SgNum * SgRow
a subgradient
Definition OPTtypes.h:112
LMNum * LMRow
a vector of Lagrangean Multipliers
Definition OPTtypes.h:130
double LMNum
a Lagrangean Multiplier
Definition OPTtypes.h:129
cLMNum * cLMRow
a read-only vector of LMs
Definition OPTtypes.h:134
static constexpr T Inf(void) noexcept
Inf< T >() = infinity value for T.
Definition OPTUtils.h:357