8.7.4. IPM attributes

C API parameter

Parameter

Description

MDO_INT_ATTR_IPM_NUM_ITERS

“IPM/NumIters”

Number of iterations in the interior point method (IPM).

Note

The parameter APIs of C++, Java, and Python are in the MDO_INT_PARAM namespace, please refer to the Chapter Alias of Attributes.

8.7.4.1. “IPM/NumIters”

This attribute is used to query the number of iterations in the IPM.

  • Group: Model

  • Type: Integer

  • Modifiable: No

Examples

C

Mdo_getIntAttr(model, "IPM/NumIters", &num_iters);

C++

num_iters = model.getIntAttr("IPM/NumIters");

Python

num_iters = model.get_int_attr("IPM/NumIters")