{ } Raw JSON

bundles / scipy latest / scipy / optimize / _linprog / linprog_terse_callback

function

scipy.optimize._linprog:linprog_terse_callback

source: /scipy/optimize/_linprog.py :123

Signature

def   linprog_terse_callback ( res )

Summary

A sample callback function demonstrating the linprog callback interface. This callback produces brief output to sys.stdout before each iteration and after the final iteration of the simplex algorithm.

Parameters

res : A `scipy.optimize.OptimizeResult` consisting of the following fields:

x

x

fun

fun

success

success

slack

slack

con

con

phase

phase

status

status

nit

nit

message

message

Aliases

  • scipy.optimize._linprog.linprog_terse_callback