Drake
Drake C++ Documentation
ClpSolverDetails Struct Reference

Detailed Description

The CLP solver details after calling Solve() function.

The user can call MathematicalProgramResult::get_solver_details<ClpSolver>() to obtain the details.

#include <drake/solvers/clp_solver.h>

Public Attributes

std::string clp_version
 The CLP_VERSION from the Clp build. More...
 
int status {-1}
 Refer to ClpModel::status() function for the meaning of the status code. More...
 

Member Data Documentation

◆ clp_version

std::string clp_version

The CLP_VERSION from the Clp build.

◆ status

int status {-1}

Refer to ClpModel::status() function for the meaning of the status code.

  • -1: unknown error.
  • 0: optimal.
  • 1: primal infeasible
  • 2: dual infeasible
  • 3: stopped on iterations or time.
  • 4: stopped due to errors
  • 5: stopped by event handler

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