Initializing help system before first use

problem.btran

problem.btran


Purpose
Post-multiplies a (row) vector provided by the user by the inverse of the current basis.
Synopsis
problem.btran(vec)
Argument
vec 
Array of length problem.attributes.rows containing the values by which the basis inverse is to be multiplied. The transformed values will also be returned in this array.
Example
Get the (unscaled) tableau row z of constraint number irow, assuming that all arrays have been dimensioned.
y = [0,1,0,0]
p.btran(y)
print("btran result:", y)
Further information
If the problem is in a presolved state, btran works with the basis for the presolved problem.
Related topics