Initializing help system before first use

problem.getinfeas

problem.getinfeas


Purpose
Returns a list of infeasible primal and dual variables.
Synopsis
problem.getinfeas(mx, mslack, mdual, mdj)
Arguments
mx 
Array to store the primal infeasible variables. May be None if not required.
mslack 
Array to store the primal infeasible rows. May be None if not required.
mdual 
Array to store the dual infeasible rows. May be None if not required.
mdj 
Array to store the dual infeasible variables. May be None if not required.
Example
mx = []
mslack = []
p.getinfeas(mx, mslack, None, None)
print("getinfeas --> mx and mslack:", mx, mslack)
Further information
To find the infeasibilities in a previously saved solution, the solution must first be loaded into memory with the problem.readbinsol function.
Related topics