{ } Raw JSON

bundles / scipy 1.17.1 / scipy / optimize / _linprog_ip / _get_message

function

scipy.optimize._linprog_ip:_get_message

source: /scipy/optimize/_linprog_ip.py :394

Signature

def   _get_message ( status )

Summary

Given problem status code, return a more detailed message.

Parameters

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

Returns

message : str

A string descriptor of the exit status of the optimization.

Aliases

  • scipy.optimize._linprog_ip._get_message