Corrected the objective function tag returned in the found solution message from the Solver

Change-Id: Ia4d53438cfe8dd1f5ce4de0d0df686ccf2897b02
This commit is contained in:
Geir Horn 2024-01-31 10:22:02 +01:00
parent 879b659125
commit 3ef5b1c32b

View File

@ -264,8 +264,7 @@ void AMPLSolver::SolveProblem(
Send( Solver::Solution(
TheContext.at( Solver::TimeStamp ).get< Solver::TimePointType >(),
TheContext.at( Solver::ObjectiveFunctionLabel ), //TO DO: Where does this come from?
ObjectiveValues, VariableValues,
OptimisationGoal, ObjectiveValues, VariableValues,
TheContext.at( DeploymentFlag ).get<bool>()
), TheRequester );
}