|
| | LinearDecisionRule (ROCPPuncContainer_Ptr UC, uint memory=1000, double bigM=100.) |
| | Constructor of the LinearDecisionRule class. More...
|
| |
| | LinearDecisionRule (uint memory=1000, double bigM=100.) |
| | Constructor of the LinearDecisionRule class. More...
|
| |
| | ~LinearDecisionRule () |
| | Destructor of the LinearDecisionRule class. More...
|
| |
| ROCPPOptModelIF_Ptr | convertVar (ROCPPOptModelIF_Ptr pIn, bool resetAndSave=false) |
| | Approximated the real-valued adaptive decisions in the given model by linear desicion rules First set the uncertainty container and then do the approximation. More...
|
| |
| ROCPPOptModelIF_Ptr | approximate (ROCPPOptModelIF_Ptr pIn) |
| |
| void | createTranslationMap (const dvContainer &tmpContainer, map< string, ROCPPExpr_Ptr > &translationMap, vector< ROCPPConstraintIF_Ptr > &toAdd) |
| | Create the map from the original decision variable to decisions that are affine in the history of observations. More...
|
| |
| void | setUncContainer (ROCPPuncContainer_Ptr UC) |
| | Set the uncertainty container of this class. More...
|
| |
| ROCPPVarIF_Ptr | getCoeffDV (string dvName, string uncName) const |
| | Get the coefficient decision variable associated with the given uncertain parameter in the approximation for the given decision variable. More...
|
| |
| map< pair< string, string >, ROCPPVarIF_Ptr > | getLDRCoeff () const |
| | Return map m_mapOrigDVUncPairToCoeffDV. More...
|
| |
| multimap< string, pair< string, ROCPPVarIF_Ptr > > | getLDRExpr () const |
| | Return map m_mapOrigDVToUncAndCoeffDV. More...
|
| |
| void | printOut (const ROCPPOptModelIF_Ptr pIn, const map< string, double > &variableValue, ROCPPVarIF_Ptr dv) |
| | Print the solution (in the form of an expression) for the given variable. More...
|
| |
| void | printOut (const ROCPPOptModelIF_Ptr pIn, const map< string, double > &resultIn, ROCPPUnc_Ptr unc) |
| |
| ROCPPOptModelIF_Ptr | Reformulate (ROCPPOptModelIF_Ptr pIn) |
| |
| bool | isApplicable (ROCPPOptModelIF_Ptr pIn) const |
| |
| string | getName () const |
| |
| | ContinuousVarsDRIF (uint memory=1000) |
| | Constructor of the continuous variable decision rule interface class. More...
|
| |
| virtual | ~ContinuousVarsDRIF () |
| | Destructor of the continuous variable decision rule interface class. More...
|
| |
| void | findVarsToTranslate (vector< ROCPPConstraintIF_Ptr >::const_iterator first, vector< ROCPPConstraintIF_Ptr >::const_iterator last, ROCPPObjectiveIF_Ptr obj, dvContainer &container) |
| | Find all adaptive continuous variable in the given constraints and objective. More...
|
| |
| | OneToExprVariableConverterIF () |
| | Constructor of OneToExprVariableConverterIF class. More...
|
| |
| | ~OneToExprVariableConverterIF () |
| | Destructor of OneToExprVariableConverterIF class. More...
|
| |
| const_iterator | find (string varName) const |
| |
| const_iterator | begin () const |
| |
| const_iterator | end () const |
| |
| void | convertVar (vector< ROCPPConstraintIF_Ptr >::const_iterator first, vector< ROCPPConstraintIF_Ptr >::const_iterator last, ROCPPObjectiveIF_Ptr obj, const dvContainer &origDVContainer, vector< ROCPPConstraintIF_Ptr > &toAdd, ROCPPObjectiveIF_Ptr &toSet, bool resetAndSave=false) |
| | Map the original variable to an expression for all variables in the input model. More...
|
| |
| virtual void | createInverseMap (const dvContainer &origDVContainer) |
| | Create the map m_inverseMap. More...
|
| |
| double | evaluateVariableValue (string nme, const map< string, double > &binValuesMap) const |
| | Evaluate and return the value of the given variable after converting it. More...
|
| |
| virtual ROCPPOptModelIF_Ptr | convertVar (ROCPPOptModelIF_Ptr pIn, bool resetAndSave=false) |
| | Get the objective and constraints in the input model and then convert the variables. More...
|
| |
| virtual void | convertVar (vector< ROCPPConstraintIF_Ptr >::const_iterator first, vector< ROCPPConstraintIF_Ptr >::const_iterator last, ROCPPObjectiveIF_Ptr obj, const dvContainer &origDVContainer, vector< ROCPPConstraintIF_Ptr > &toAdd, ROCPPObjectiveIF_Ptr &toSet, bool resetAndSave=false)=0 |
| | Approximate each variable in the given objective and contraints. More...
|
| |
| | VariableConverterIF () |
| | Constructor of VariableConverterIF class. More...
|
| |
| | ~VariableConverterIF () |
| | Destructor of VariableConverterIF class. More...
|
| |
| const_iterator_inv | findInv (string varName) const |
| | Return a constant iterator pointing to the pair of the given variable and the old variable associated with it. More...
|
| |
| const_iterator_inv | beginInv () const |
| | Return a constant iterator pointing to the beginning of the inverse map (m_inverseMap) More...
|
| |
| const_iterator_inv | endInv () const |
| | Return a constant iterator pointing to the end of the inverse map (m_inverseMap) More...
|
| |
| virtual void | convertVar (vector< ROCPPConstraintIF_Ptr >::const_iterator first, vector< ROCPPConstraintIF_Ptr >::const_iterator last, ROCPPObjectiveIF_Ptr obj, const dvContainer &origDVContainer, vector< ROCPPConstraintIF_Ptr > &toAdd, ROCPPObjectiveIF_Ptr &toSet, bool resetAndSave=false)=0 |
| | Approximate each variable in the given objective and contraints. More...
|
| |
| virtual void | findVarsToTranslate (vector< ROCPPConstraintIF_Ptr >::const_iterator first, vector< ROCPPConstraintIF_Ptr >::const_iterator last, ROCPPObjectiveIF_Ptr obj, dvContainer &container)=0 |
| | Find the variable in the given ocnstraints and objective to be mapped and store them in the container. More...
|
| |
| | DecisionRuleIF (uint memory=1000) |
| | Constructor of the DecisionRuleIF class. More...
|
| |
| virtual | ~DecisionRuleIF () |
| | Destructor of the DecisionRuleIF class. More...
|
| |
| uint | getMemory () const |
| |
| | ReformulationStrategyIF () |
| |
| | ~ReformulationStrategyIF () |
| |
Linear decision rule.
Class for approximating continuous variable by linear function of the uncertain parameters