24 #include <antares/optimisation/linear-problem-api/linearProblemFiller.h>
25 #include <antares/study/system-model/component.h>
26 #include <antares/study/system-model/variable.h>
27 #include "antares/modeler-optimisation-container/OptimEntityContainer.h"
28 #include "antares/modeler-optimisation-container/scenarioGroupRepo.h"
29 #include "antares/solver/optim-model-filler/Dimensions.h"
31 #include "ReadLinearConstraintVisitor.h"
40 unsigned indexInProblem;
47 void setCurrentProblemId(std::string
id);
48 void collectConnectionVariables(std::vector<std::string>&& varnames,
unsigned varsCountInPb);
50 const std::map<std::string, std::vector<ConnectionVariable>>& connections()
const
52 return connectionVars_;
56 std::map<std::string, std::vector<ConnectionVariable>> connectionVars_;
57 std::string currentProblemId_ =
"master";
64 void write(std::ostream& os)
const;
85 Modeler::Config::Location targetLocation,
95 const std::string& constraint_id)
const;
98 const std::string& constraint_id,
109 const Modeler::Config::Location targetLocation_;
113 auto locationFilter()
115 return std::views::filter(
116 [
this](
const auto& item)
117 {
return AreLocationsCompatibleForFillers(item.location(), targetLocation_); });
Base class for nodes in a syntax tree.
Definition: Node.h:30
Definition: component.h:69
Definition: ComponentFiller.h:61
Definition: ComponentFiller.h:44
Definition: ComponentFiller.h:76
Context for filling linear problem data. Contains temporal information.
Definition: ILinearProblemData.h:35
Definition: linearProblemFiller.h:31
Definition: OptimEntityContainer.h:46
Definition: scenarioGroupRepo.h:12
Definition: LinearExpression.h:30
Definition: VariableNode.h:9
VariabilityType
Represents the time and scenario variation of a value.
Definition: variabilityType.h:29
Definition: ComponentFiller.h:38
Definition: ReadLinearConstraintVisitor.h:50