Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
a-zakir committed Sep 18, 2023
1 parent 381ff46 commit 2bfafd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solver/optimisation/MaxPumping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ void MaxPumping::add(int pays)
for (int pdt = 0; pdt < NombreDePasDeTempsPourUneOptimisation; pdt++)
{
builder.updateHourWithinWeek(pdt);
builder.include(Variable::Pumping(pays), 1.0);
builder.Pumping(pays, 1.0);
}
problemeHebdo->NumeroDeContrainteMaxPompage[pays]
= problemeHebdo->ProblemeAResoudre->NombreDeContraintes;
Expand Down

0 comments on commit 2bfafd4

Please sign in to comment.