The MOSEK Python optimizer API manual Version 7.0 (Revision 141)

Optimizer API for Python - Documentation - Mosek Optimizer API for Python - Documentation - Mosek

25.11.2015 Views

342 APPENDIX A. API REFERENCE bl : double New lower bound. bu : double New upper bound. j : int Index of the variable. Description: See also Changes the bounds for one variable. If the a bound value specified is numerically larger than dparam.data tol bound inf it is considered infinite and the bound key is changed accordingly. If a bound value is numerically larger than dparam.data tol bound wrn, a warning will be displayed, but the bound is inputted as specified. • Task.putvarboundslice Changes the bounds for a slice of the variables. A.2.239 Task.putvarboundlist() Task.putvarboundlist( sub, bkx, blx, bux) Changes the bounds of a list of variables. Arguments bkx : boundkey New bound keys. blx : double[] New lower bound values. bux : double[] New upper bound values. sub : int[] List of variable indexes. Description: Changes the bounds for one or more variables. If multiple bound changes are specified for a variable, then only the last change takes effect.

A.2. CLASS TASK 343 See also • Task.putvarbound Changes the bound for one variable. • Task.putvarboundslice Changes the bounds for a slice of the variables. • dparam.data tol bound inf Data tolerance threshold. • dparam.data tol bound wrn Data tolerance threshold. A.2.240 Task.putvarboundslice() Task.putvarboundslice( first, last, bk, bl, bu) Changes the bounds for a slice of the variables. Arguments bk : boundkey New bound keys. bl : double[] New lower bounds. bu : double[] New upper bounds. first : int Index of the first variable in the slice. last : int Index of the last variable in the slice plus 1. Description: See also Changes the bounds for a slice of the variables. • Task.putconbound Changes the bound for one constraint.

A.2. CLASS TASK 343<br />

See also<br />

• Task.putvarbound Changes the bound for one variable.<br />

• Task.putvarboundslice Changes the bounds for a slice of the variables.<br />

• dparam.data tol bound inf Data tolerance threshold.<br />

• dparam.data tol bound wrn Data tolerance threshold.<br />

A.2.240<br />

Task.putvarboundslice()<br />

Task.putvarboundslice(<br />

first,<br />

last,<br />

bk,<br />

bl,<br />

bu)<br />

Changes the bounds for a slice of the variables.<br />

Arguments<br />

bk : boundkey<br />

New bound keys.<br />

bl : double[]<br />

New lower bounds.<br />

bu : double[]<br />

New upper bounds.<br />

first : int<br />

Index of the first variable in the slice.<br />

last : int<br />

Index of the last variable in the slice plus 1.<br />

Description:<br />

See also<br />

Changes the bounds for a slice of the variables.<br />

• Task.putconbound Changes the bound for one constraint.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!