xprsmip
xprsmip |
x = xprsmip(f,A,b,rtype,ctype, clim,sos,lb,ub,x0,options)
[x,fval,exitflag,output] = xprsmip(...)
f
|
Linear objective function vector
|
||||||||||||
A
|
Matrix for linear constraints
|
||||||||||||
b
|
Vector for constraints RHS
|
||||||||||||
rtype
|
Character vector (string) giving the row types:
If
rtype = [], all rows are assumed to be of type
'L'. If
rtype is a single character, all constraints are assigned the corresponding type.
|
||||||||||||
ctype
|
Character vector (string) giving the column types:
If
ctype = [], all rows are assumed to be of type
'C'. If
ctype is a single character, all constraints are assigned the corresponding type.
|
||||||||||||
clim
|
Vector containing the integer limits for the partial integer variables and lower bounds for semi-continuous and semi-continuous integer variables (column types
'P',
'S',
'R'). Values in the positions corresponding to all other columns are ignored.
clim is mandatory if there are any
'P',
'S', or
'R' columns. If
clim is a scalar, all columns are assigned to that same limit.
|
||||||||||||
sos
|
Struct vector defining SOS sets. The number of SOS sets is given by the number of elements in the struct. The struct must contain the following fields:
|
||||||||||||
lb
|
Lower bounds. If
lb = [] it means there are no lower bounds. If
lb is a scalar,
x is uniformly bounded by that scalar.
|
||||||||||||
ub
|
Upper bounds. If
ub = [] it means there are no upper bounds. If
ub is a scalar,
x is uniformly bounded by that scalar.
|
||||||||||||
x0
|
Optional initial known solution used to speed-up search.
|
||||||||||||
options
|
Options structure created with
optimset or
xprsoptimset functions. See
xprsoptimset for more details.
|
x
|
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 the optimization algorithm terminated. The following lists the values of
exitflag and the corresponding reasons the algorithm terminated.
|
||||||||||||
output
|
Structure containing information about the optimization and, eventually, values of Xpress controls and attributes. See
linprog and the Section
Setting and querying controls and attributes for details.
|
s.t. A·x ≤|=|≥ b
lb≤ x ≤ ub
© 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.