Initializing help system before first use

xprsbip

xprsbip


Purpose
Solve binary integer programming problems with Xpress.
Synopsis
x = xprsbip(f,A,b,rtype,x0,options)
[x,fval,exitflag,output] = xprsbip(...)
Input arguments
Linear objective function vector
Matrix for linear constraints
Vector for constraints RHS
rtype 
Character vector (string) giving the row types:
indicates a ≤ row
indicates a = row
indicates a ≥ row
indicates a free row
If rtype = [], all rows are assumed to be of type 'L'. If rtype is a single character, all constraints are assigned the corresponding type.
x0 
Optional initial known solution used to speed-up search.
options 
Options structure created with optimset or xprsoptimset functions. See xprsoptimset for more details.
Output arguments
Solution found by the optimization function. If exitflag > 0, then x is a solution; otherwise, x is the value of the optimization routine when it terminated prematurely.
fval 
Value of the objective function at the solution x.
exitflag 
Integer identifying the reason why the optimization algorithm terminated. The following lists the values of exitflag and the corresponding reasons the algorithm terminated.
function converged to a solution x (MIPSTATUS=MIP_OPTIMAL)
number of iterations exceeded iter limit (STOPSTATUS= STOP_ITERLIMIT)
-2 
the problem is infeasible (MIPSTATUS=MIP_INFEAS)
-4 
number of searched nodes exceeded limit (STOPSTATUS= STOP_NODELIMIT)
-5 
search time exceeded limit (STOPSTATUS= STOP_TIMELIMIT)
-8 
other stop reason, see MIPSTATUS and STOPSTATUS for details
output 
Structure containing information about the optimization and, eventually, values of Xpress controls and attributes. See bintprog and the Section Setting and querying controls and attributes for details.
Further information
1. This routine finds the minimum of a problem specified by
min f·x
s.t. A·x ≤|=|≥ b   
x ∈ {0,1}
where A is an m × n matrix; f, b, rtype, and x0 are vectors.
2. Input arguments rtype, x0 and options can be omitted, with the condition that, if one is omitted, also all the following ones must be omitted (as in x=xprsbip(f, A, b, rtype)). Omitting an input argument has the same effect as passing an empty array [].
3. All output arguments can be omitted too, again with the condition that, if one is omitted, also all the following ones must be omitted (as in [x, fval]= xprsbip(f, A, b, rtype)).
4. If the specified input bounds for a problem are inconsistent, the output x and fval are set to [].
Related topics
xprsoptimset, bintprog

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