{ } Raw JSON

bundles / scipy 1.18.0 / scipy / optimize / _linprog_util / _display_summary

function

scipy.optimize._linprog_util:_display_summary

source: /scipy/optimize/_linprog_util.py:1286

Signature

def _display_summary(message, status, fun, iteration)

Summary

Print the termination summary of the linear program

Parameters

message : str

A string descriptor of the exit status of the optimization.

status : int

An integer representing the exit status of the optimization

0 : Optimization terminated successfully
1 : Iteration limit reached
2 : Problem appears to be infeasible
3 : Problem appears to be unbounded
4 : Serious numerical difficulties encountered
fun : float

Value of the objective function.

iteration : iteration

The number of iterations performed.

Aliases

  • scipy.optimize._linprog._display_summary