Commit 72179ed6 authored by Enrico Gorgone's avatar Enrico Gorgone

publicize setting functions for QPPenalty

parent 458ea743
......@@ -209,6 +209,27 @@ class QPPenaltyMP : public MPSolver ,
void SetDim( cIndex MxBSz = 0 , FiOracle *Oracle = 0 ,
const bool UsAvSt = false );
/*--------------------------------------------------------------------------*/
// "publicize" the MinQuad::SetPricing method
using MinQuad::SetPricing;
/*--------------------------------------------------------------------------*/
#if( HV_NNVAR )
// "publicize" the BMinQuad::SetMaxVarAdd method
using BMinQuad::SetMaxVarAdd;
// "publicize" the BMinQuad::SetMaxVarRmv method
using BMinQuad::SetMaxVarRmv;
#else
// provide a dummy implementation of BMinQuad::SetMaxVarAdd
inline void SetMaxVarAdd( cIndex MVA = 1 ) { }
// provide a dummy implementation of BMinQuad::SetMaxVarRmv
inline void SetMaxVarRmv( cIndex MVR = 1 ) { }
#endif
/*--------------------------------------------------------------------------*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment