diff --git a/AMPLSolver.cpp b/AMPLSolver.cpp index c03c3c1..9cf4d07 100644 --- a/AMPLSolver.cpp +++ b/AMPLSolver.cpp @@ -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() ), TheRequester ); }