Results and statistics¶
Solution ¶
Bases: NamedTuple
The result of solving a problem.
The multipliers are those of the problem Ipopt solves, which minimizes the objective, so a problem that maximizes has the multipliers of its negated objective.
constraints
instance-attribute
¶
The value of each constraint at x, in its own shape.
lower_multipliers
instance-attribute
¶
Multipliers of the lower bounds of the variables, in the structure of x.
upper_multipliers
instance-attribute
¶
Multipliers of the upper bounds of the variables, in the structure of x.
statistics
instance-attribute
¶
Counters of the callbacks that Ipopt made during the solve.
build
instance-attribute
¶
Time and counts of compiling the problem, zero if it was compiled before.
Status ¶
Bases: IntEnum
Why Ipopt stopped, with the values of its ApplicationReturnStatus.
succeeded
property
¶
Whether Ipopt found a point that satisfies the tolerances or the acceptable ones.
IterationInfo ¶
Bases: NamedTuple
What Ipopt reports at the end of an iteration, passed to the callback of a solve.
regularization_size
instance-attribute
¶
Size of the regularization of the Hessian of the Lagrangian.
SolveStatistics ¶
Bases: NamedTuple
Counters of every callback of Ipopt for one solve.
CallbackStatistics ¶
Program ¶
Bases: IntEnum
The programs that Ipopt's callbacks execute, in the order the native layer indexes them.
BuildStatistics ¶
Bases: NamedTuple
Time and counts of building the programs of a problem.
detect_seconds
class-attribute
instance-attribute
¶
Seconds spent detecting and coloring sparsity patterns.
lower_seconds
class-attribute
instance-attribute
¶
Seconds spent tracing and lowering programs to StableHLO.
compile_seconds
class-attribute
instance-attribute
¶
Seconds spent compiling StableHLO with the PJRT plugin.
load_seconds
class-attribute
instance-attribute
¶
Seconds spent reading lowered programs and executables from the disk cache.
loaded
class-attribute
instance-attribute
¶
Programs whose executables came from the disk cache.
wall_seconds
class-attribute
instance-attribute
¶
Seconds the build took on the wall clock.