Creation of LP objects#
- LPProcess(R, n): Rng, RngIntElt -> LP#
A Linear Program over the ring \(R\) in \(n\) variables.
- Example: LP Creation (ex-a6b954)#
We create an LP representing a problem in 2 real variables:
> R := RealField( ); > L := LPProcess(R, 2); > L; LP <Real Field, 2 variables> Minimising objective function: [0 0] Subject to constraints: Variables bounded above by: [ ] Variables bounded below by: [ ] Solving in integers for variables [ ]