Initializing help system before first use

problem.getinfeas

Purpose
Returns a list of infeasible primal and dual variables.
Synopsis
problem.getinfeas(x, slack, duals, djs)
Arguments
Array to store the primal infeasible variables. May be None if not required.
slack 
Array to store the primal infeasible rows. May be None if not required.
duals 
Array to store the dual infeasible rows. May be None if not required.
djs 
Array to store the dual infeasible variables. May be None if not required.
Example
x = []
slack = []
p.getinfeas(x, slack, None, None)
print("getinfeas --> x and slack:", x, slack)
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

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.