{ } Raw JSON

bundles / scipy 1.17.1 / scipy / optimize / _linprog_util / _format_b_constraints

function

scipy.optimize._linprog_util:_format_b_constraints

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

Signature

def   _format_b_constraints ( b )

Summary

Format the upper bounds of the constraints to a 1-D array

Parameters

b : 1-D array

1-D array of values representing the upper-bound of each (in)equality constraint (row) in A.

Returns

: 1-D np.array

1-D array of values representing the upper-bound of each (in)equality constraint (row) in A.

Aliases

  • scipy.optimize._linprog_util._format_b_constraints