Close
Close window
ratio - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

simplex

ratio

return a list of ratios

Calling Sequence

ratio(C, x)

Parameters

C

-

set of linear equations

x

-

variable to be used in calculating ratios

Description

The call ratio(C, x) returns a list of ratios which can be used to determine which equation in C is most restrictive with respect to the next simplex pivot. For each equation, the ratio computed, if possible, is

ctermeqcoeffeq,x,1

All negative ratios are reported as infinity, as are those for which the denominator is 0.

The equations C are in the special form produced by simplex[setup].

The command with(simplex,ratio) allows the use of the abbreviated form of this command.

Examples

>

withsimplex:

>

ratio_SL1=54x3y,_SL2=43x4y,x

54,43

(1)

Download Help Document

AltStyle によって変換されたページ (->オリジナル) /