29 namespace Antares::Solver
38 unsigned int year = 0;
39 unsigned int week = 0;
55 unsigned VariablesCount = 0;
57 unsigned ConstraintesCount = 0;
59 unsigned CoeffCount = 0;
64 std::vector<unsigned> Mdeb;
70 std::vector<unsigned> ColumnIndexes;
76 std::vector<double> ConstraintsMatrixCoeff;
78 std::vector<std::string> VariablesMeaning;
79 std::vector<std::string> ConstraintsMeaning;
90 std::vector<char> Direction;
92 std::vector<double> Xmax;
94 std::vector<double> Xmin;
96 std::vector<double> LinearCost;
98 std::vector<double> RHS;
105 using WeeklyDataByYearWeek = std::map<WeeklyProblemId, WeeklyDataFromAntares>;
119 [[nodiscard]]
bool empty()
const;
136 [[nodiscard]]
size_t weekCount()
const noexcept;
139 WeeklyDataByYearWeek weeklyProblems;
The LpsFromAntares class is used to manage the constant and weekly data for Antares problems.
Definition: LpsFromAntares.h:113
The ConstantDataFromAntares class is used to store constant data across all weeks of Antares problems...
Definition: LpsFromAntares.h:54
The WeeklyDataFromAntares class is used to store weekly data for an Antares Problem.
Definition: LpsFromAntares.h:89
The WeeklyProblemId struct is used to identify a weekly problem by year and week.
Definition: LpsFromAntares.h:37