Drake
IpoptSolverDetails Struct Reference

Detailed Description

The Ipopt solver details after calling Solve() function.

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

#include <drake/solvers/ipopt_solver.h>

Public Member Functions

const char * ConvertStatusToString () const
Convert status field to string. More...

Public Attributes

int status {}
The final status of the solver. More...

Eigen::VectorXd z_L
The final value for the lower bound multiplier. More...

Eigen::VectorXd z_U
The final value for the upper bound multiplier. More...

Eigen::VectorXd g
The final value for the constraint function. More...

Eigen::VectorXd lambda
The final value for the constraint multiplier. More...

◆ ConvertStatusToString()

 const char* ConvertStatusToString ( ) const

Convert status field to string.

This function is useful if you want to interpret the meaning of status.

◆ g

 Eigen::VectorXd g

The final value for the constraint function.

◆ lambda

 Eigen::VectorXd lambda

The final value for the constraint multiplier.

◆ status

 int status {}

The final status of the solver.

Please refer to section 6 in Introduction to Ipopt: A tutorial for downloading, installing, and using Ipopt. You could also find the meaning of the status as Ipopt::SolverReturn defined in IpAlgTypes.hpp

◆ z_L

 Eigen::VectorXd z_L

The final value for the lower bound multiplier.

◆ z_U

 Eigen::VectorXd z_U

The final value for the upper bound multiplier.

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