20 std::shared_ptr<SolverAbstract> build(
21 const std::string& solverName,
const std::vector<Candidate>& candidates,
25 void addNvarOnEachIntegerCandidate(
26 const std::vector<Candidate>& candidatesInteger,
28 void addVariablesPmaxOnEachCandidate(
const std::vector<Candidate>& candidates,
30 void addPmaxConstraint(
const std::vector<Candidate>& candidatesInteger,
32 int getPmaxVarColumnNumberFor(
const Candidate& candidate);
34 std::unordered_map<std::string, int> _indexOfPmaxVar;
35 std::unordered_map<std::string, int> _indexOfNvar;
36 std::string _master_formulation;