simplex - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Optimization : Simplex Linear Optimization : simplex/ratio

simplex

  

ratio

  

return a list of ratios

 

Calling Sequence

Parameters

Description

Examples

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

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam