Inequalities(curves, str, pt)
list of inequalities in variables x and y
list of LinearFunction objects
list of strings "strict" or "nonstrict", indicating type of inequality
a GridPoint object or rtable/list representing a point in the feasible region
The Inequalities constructor generates and returns an object representing a set of inequalities. Currently, only linear inequalities are supported.
The first calling sequence requires a list of inequalities in the variables x and y to be provided.
The second calling sequence allows a feasible region to be defined indirectly, through a list of curves. The str parameter indicates whether the inequality associated with each curve is strict or not; this list must have the same number of elements as curves.
The pt parameter can be any point in the feasible region. If the feasible region is empty, then an empty list should be given as pt.
I1 ≔ Inequalities⁡x+y≤1,2<2⁢x−y
I1≔<< Inequalities: [x+y <= 1, 2 < 2*x-y]>>
I2 ≔ Inequalities⁡LinearFunction⁡0,1,−2,−2,LinearFunction⁡1,0,−2,0,nonstrict,strict,−2,1
I2≔<< Inequalities: [3/2*x+1 <= y, 0 < y]>>
The Grading:-Inequalities command was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
Download Help Document