The Gurobi solver details after calling Solve() function.
The user can call MathematicalProgramResult::get_solver_details<GurobiSolver>() to obtain the details.
#include <drake/solvers/gurobi_solver.h>
Public Attributes | |
| double | optimizer_time {} |
| The gurobi optimization time. More... | |
| int | error_code {} |
| The error message returned from Gurobi call. More... | |
| int | optimization_status {} |
| The status code when the optimize call has returned. More... | |
| double | objective_bound {NAN} |
| The best known bound on the optimal objective. More... | |
| int error_code {} |
The error message returned from Gurobi call.
Please refer to https://docs.gurobi.com/projects/optimizer/en/12.0/reference/numericcodes/errors.html
| double objective_bound {NAN} |
The best known bound on the optimal objective.
This is used in mixed integer optimization. Please refer to https://docs.gurobi.com/projects/optimizer/en/12.0/reference/attributes/model.html#objbound
| int optimization_status {} |
The status code when the optimize call has returned.
Please refer to https://docs.gurobi.com/projects/optimizer/en/12.0/reference/numericcodes/statuscodes.html
| double optimizer_time {} |
The gurobi optimization time.
Please refer to https://docs.gurobi.com/projects/optimizer/en/12.0/reference/attributes/model.html#attrruntime