Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
a-zakir committed Jan 10, 2025
1 parent 539bbc5 commit 34f530e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/solver/optim-model-filler/ComponentFiller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ void ComponentFiller::addVariables(Solver::Modeler::Api::ILinearProblem& pb,
{
if (isTimeDependent(ctx))
{
addTimeDependentVariables(pb, evaluator, getNumberOfTimestep(ctx));
}
else
{
addTimeDependentVariables(pb,
evaluator,
getNumberOfTimestep(ctx));
addStaticVariable(pb,
evaluator);
}
}
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ void LinearProblemBuildingFixture::buildLinearProblem()
{
fillers_ptr.push_back(component_filler.get());
}
pb = make_unique<Antares::Solver::Modeler::OrtoolsImpl::OrtoolsLinearProblem>(false, "scip");
pb = make_unique<Antares::Solver::Modeler::OrtoolsImpl::OrtoolsLinearProblem>(false, "sirius");
LinearProblemBuilder linear_problem_builder(fillers_ptr);
LinearProblemData dummy_data;
FillContext dummy_time_scenario_ctx = {0, 0};
Expand Down

0 comments on commit 34f530e

Please sign in to comment.