25 #include <antares/expressions/expression.h>
27 #include "optimConfig.h"
28 #include "timeAndScenarioType.h"
29 #include "valueType.h"
31 namespace Antares::ModelerStudy::SystemModel
42 TimeDependent timeDependent,
43 ScenarioDependent scenarioDependent,
44 Modeler::Config::Location location = Modeler::Config::Location::SUBPROBLEMS):
47 lowerBound_(std::move(lower_bound)),
48 upperBound_(std::move(upper_bound)),
49 timeDependent_(timeDependent),
50 scenarioDependent_(scenarioDependent),
55 const std::string& Id()
const
60 ValueType Type()
const
75 [[nodiscard]]
bool isTimeDependent()
const
77 return timeDependent_ == TimeDependent::YES;
80 [[nodiscard]]
bool IsScenarioDependent()
const
82 return scenarioDependent_ == ScenarioDependent::YES;
85 [[nodiscard]] Modeler::Config::Location location()
const
95 TimeDependent timeDependent_ = TimeDependent::YES;
96 ScenarioDependent scenarioDependent_ = ScenarioDependent::YES;
97 Modeler::Config::Location location_ = Modeler::Config::Location::SUBPROBLEMS;
Definition: expression.h:37
A decision variable of the model.
Definition: variable.h:36