simplex
pivotvar
return a variable with positive coefficient
Calling Sequence
Parameters
Description
Examples
pivotvar(f, List)
pivotvar(f)
f
-
objective function expressed in terms of non-basic variables relative to some description
List
list of the variables which occur in the problem
The function pivotvar(f, List) returns either a variable which has a positive coefficient or FAIL. The optional List (of variable names) is used to determine the order in which the variables should be examined. The first success is used. If no List is provided, then pivotvar chooses its own order.
The command with(simplex,pivotvar) allows the use of the abbreviated form of this command.
with⁡simplex:
pivotvar⁡x1+3⁢x3−x4
x1
pivotvar⁡x1+3⁢x3−x4,x4,x3,x1
x3
Download Help Document
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル