This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / optimize / _linprog_util / _format_b_constraints

function

scipy.optimize._linprog_util:_format_b_constraints

source: build-install/usr/lib/python3.14/site-packages/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