Skip to content

Commit

Permalink
print error message
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Mitri <[email protected]>
  • Loading branch information
pet-mit committed Jan 21, 2025
1 parent c7ac13f commit 6629576
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/solver/utils/ortools_quadratic_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ void ProcessSolveResult(PROBLEME_ANTARES_A_RESOUDRE* ProblemeAResoudre,
}
else
{
Antares::logs.warning() << "Quadratic optimization failed: "
<< resultStatus.status().ToString();
ProblemeAResoudre->ExistenceDUneSolution = NON_PI;
FillWithNaN(ProblemeAResoudre->X);
FillWithNaN(ProblemeAResoudre->AdresseOuPlacerLaValeurDesVariablesOptimisees);
Expand Down

0 comments on commit 6629576

Please sign in to comment.