20 std::shared_ptr<SolverAbstract> build(
const std::string& solverName,
21 const std::vector<Candidate>& candidates,
25 void addNvarOnEachIntegerCandidate(
const std::vector<Candidate>& candidatesInteger,
27 void addVariablesPmaxOnEachCandidate(
const std::vector<Candidate>& candidates,
29 void addPmaxConstraint(
const std::vector<Candidate>& candidatesInteger,
31 int getPmaxVarColumnNumberFor(
const Candidate& candidate);
33 std::unordered_map<std::string, int> _indexOfPmaxVar;
34 std::unordered_map<std::string, int> _indexOfNvar;
35 std::string _master_formulation;