ROC++  v1.2
Automatic Robust Optimization in C++
helpersOpt.hpp
Go to the documentation of this file.
1 //
2 // helpersOpt.hpp
3 // RobustOptimizationPlatform
4 //
5 // This software is Copyright © 2020 Phebe Vayanos. All Rights Reserved.
6 // Software created by Phebe Vayanos, Qing Jin, and George Elissaios
7 //
8 
9 #ifndef helpersOpt_hpp
10 #define helpersOpt_hpp
11 
12 #include "HeaderIncludeFiles.hpp"
13 
14 
15 void findMarginalSupportUncertaintySet(ROCPPOptModelIF_Ptr pModelIn, map<string,pair<double,double> > &margSupp, ROCPPMItoMB_Ptr pMIMBConverter, const map<string,uint> &numPartitionsMap, string solver = "cplex",bool onlyObsUnc = true, bool onlyUncInMap = false, const map<string,pair<double,double> > &outerApproxMargSupp = map<string,pair<double,double> >());
16 
17 void findWholeMarginalSupport(ROCPPOptModelIF_Ptr pModelIn, const map<string,uint> &numPartitionsMap, map<string,pair<double,double> > &margSupp);
18 
19 double calculateArea(const map<string,pair<double,double> > &allMap);
20 #endif /* helpersOpt_hpp */
shared_ptr< Bilinear_MItoMB_Converter > ROCPPMItoMB_Ptr
Definition: HeaderIncludeFiles.hpp:246
shared_ptr< ROCPPOptModelIF > ROCPPOptModelIF_Ptr
Definition: HeaderIncludeFiles.hpp:183
double calculateArea(const map< string, pair< double, double > > &allMap)
Definition: helpersOpt.cpp:325
void findMarginalSupportUncertaintySet(ROCPPOptModelIF_Ptr pModelIn, map< string, pair< double, double > > &margSupp, ROCPPMItoMB_Ptr pMIMBConverter, const map< string, uint > &numPartitionsMap, string solver="cplex", bool onlyObsUnc=true, bool onlyUncInMap=false, const map< string, pair< double, double > > &outerApproxMargSupp=map< string, pair< double, double > >())
Definition: helpersOpt.cpp:28
void findWholeMarginalSupport(ROCPPOptModelIF_Ptr pModelIn, const map< string, uint > &numPartitionsMap, map< string, pair< double, double > > &margSupp)
Definition: helpersOpt.cpp:307