Initializing help system before first use

problem.getlastbarsol

Purpose
Obtains the last barrier solution values following optimization that used the barrier solver.
Synopsis
barsolstatus = problem.getastbarsol(x=None, slack=None, duals=None, djs=None)
Arguments
Array of length problem.attributes.cols where the values of the primal variables will be returned. May be None if not required.
slack 
Array of length problem.attributes.rows where the values of the slack variables will be returned. May be None if not required.
duals 
Array of length problem.attributes.rows where the values of the dual variables ( cBTB-1) will be returned. May be None if not required.
djs 
Array of length problem.attributes.cols where the reduced cost for each variable ( cT-cBTB-1A) will be returned. May be None if not required.
barsolstatus 
Status of the last barrier solve. Value matches that of the lpstatus attribute if the solve stopped immediately after the barrier.
Further information
1. If the barrier solver has not been used, barsolstatus will return xpress.lp_unsolved.
2. The barrier solution or the solution candidate is always available if the status is not xpress.lp_unsolved.
3. The last barrier solution is available until the next solve, and is not invalidated by otherwise working with the problem.
Related topics

© 2001-2024 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.