Skip to content

Conversation

@Juliette-Gerbaux
Copy link
Contributor

No description provided.

model_editer = ModelEditor(model("model"))

expression_1 = var("x").sum() + var("y")
expression_2 = (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test with model_editer.variable_in_expression(param("pmax"), ["p"])

assert status == pywraplp.Solver.OPTIMAL
assert resolution_step_2.solver.Objective().Value() == pytest.approx(84010)

expected_output = ExpectedOutput(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Factoriser les entrées

assert status == pywraplp.Solver.OPTIMAL

thermal_problem_builder.update_database_heuristic(
OutputValues(resolution_step_heuristic),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sortir la récupération des données d'entrée de la fonction update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants