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

316 APPENDIX A. API REFERENCE A.2.194 Task.putconbound() Task.putconbound( i, bk, bl, bu) Changes the bound for one constraint. Arguments bk : boundkey New bound key. bl : double New lower bound. bu : double New upper bound. i : int Index of the constraint. Description: See also Changes the bounds for one constraint. 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.putconboundslice Changes the bounds for a slice of the constraints. A.2.195 Task.putconboundlist() Task.putconboundlist( sub, bkc, blc, buc) Changes the bounds of a list of constraints. Arguments

A.2. CLASS TASK 317 bkc : boundkey New bound keys. blc : double[] New lower bound values. buc : double[] New upper bound values. sub : int[] List constraints indexes. Description: See also Changes the bounds for a list of constraints. If multiple bound changes are specified for a constraint, then only the last change takes effect. • Task.putconbound Changes the bound for one constraint. • Task.putconboundslice Changes the bounds for a slice of the constraints. • dparam.data tol bound inf Data tolerance threshold. • dparam.data tol bound wrn Data tolerance threshold. A.2.196 Task.putconboundslice() Task.putconboundslice( first, last, bk, bl, bu) Changes the bounds for a slice of the constraints. Arguments bk : boundkey New bound keys. bl : double[] New lower bounds. bu : double[] New upper bounds. first : int Index of the first constraint in the slice.

A.2. CLASS TASK 317<br />

bkc : boundkey<br />

New bound keys.<br />

blc : double[]<br />

New lower bound values.<br />

buc : double[]<br />

New upper bound values.<br />

sub : int[]<br />

List constraints indexes.<br />

Description:<br />

See also<br />

Changes the bounds for a list of constraints. If multiple bound changes are specified for a<br />

constraint, then only the last change takes effect.<br />

• Task.putconbound Changes the bound for one constraint.<br />

• Task.putconboundslice Changes the bounds for a slice of the constraints.<br />

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

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

A.2.196<br />

Task.putconboundslice()<br />

Task.putconboundslice(<br />

first,<br />

last,<br />

bk,<br />

bl,<br />

bu)<br />

Changes the bounds for a slice of the constraints.<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 constraint in the slice.

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

Saved successfully!

Ooh no, something went wrong!