Drake
GurobiSolverDetails Struct Reference

Detailed Description

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...
 

Member Data Documentation

◆ error_code

int error_code {}

The error message returned from Gurobi call.

Please refer to https://www.gurobi.com/documentation/9.0/refman/error_codes.html

◆ objective_bound

double objective_bound {NAN}

The best known bound on the optimal objective.

This is used in mixed integer optimization. Please refer to https://www.gurobi.com/documentation/9.0/refman/objbound.html

◆ optimization_status

int optimization_status {}

The status code when the optimize call has returned.

Please refer to https://www.gurobi.com/documentation/9.0/refman/optimization_status_codes.html

◆ optimizer_time

double optimizer_time {}

The gurobi optimization time.

Please refer to https://www.gurobi.com/documentation/9.0/refman/runtime.html


The documentation for this struct was generated from the following file: