10 Reputation

2 Badges

11 years, 101 days

MaplePrimes Activity

These are questions asked by ORAcolyte

Hi, the display function in the simplex package gives us a nice breakdown of the form Ax<=b, but how do we extract the individual elements, i.e. the matrix A and vectors x and b? Normal indexing into the expression doesn't work, i.e. if for some set of constraints of the form 2x+3y<=21 we enter


this gives us a nice expression, but res[1] etc. doesn't work as we might hope (i.e. by returning the matrix A).


Page 1 of 1