solver
1.0
|
Mapping of continuous variables of the energy optimization problem. More...
#include <map>
#include <string>
#include <vector>
#include "RoboticLine.h"
#include "ILPModel/ILPModel.h"
Go to the source code of this file.
Classes | |
struct | VariableMappingLP |
Mapping of continuous variables occurring in the energy optimization problem. More... | |
Typedefs | |
using | map1to1 = std::map< uint32_t, uint32_t > |
Identification of the activity is mapped to the index of the variable. | |
Functions | |
std::map< uint32_t, double > | inverseMapping (const std::vector< double > &solution, const map1to1 &mapping) |
It extracts the values of some continuous variables from the solution. More... | |
Mapping of continuous variables of the energy optimization problem.
Definition in file VariableMappingLP.h.
std::map<uint32_t, double> inverseMapping | ( | const std::vector< double > & | solution, |
const map1to1 & | mapping | ||
) |
It extracts the values of some continuous variables from the solution.
solution | A solution of an LP/ILP problem. |
mapping | A mapping of some continuous variable. |
Definition at line 62 of file VariableMappingLP.cpp.