Math::LP - OO interface to linear programs River stage zero No dependents

The Math::LP package provides an object oriented interface to defining and solving mixed linear/integer programs. It uses the lp_solve library as the underlying solver. Please note that this is not a two way relation. An LP is defined using Math::LP,...

WIMV/Math-LP-0.03 - 29 Oct 2001 10:28:32 GMT

Math::LP::Object - base class for objects in the Math::LP family River stage zero No dependents

Math::LP::Object provides the following methods to classes derived from it: new() Returns a new object, blessed in the package which it was called for. The returned object is a pseudo-hash, with fields specified using the fields pragma. new() optiona...

WIMV/Math-LP-0.03 - 29 Oct 2001 10:28:32 GMT

Math::LP::Variable - variables used in linear programs River stage zero No dependents

DATA FIELDS name a string with the name of the variable (required) is_int a flag indicating whether the variable can only have integer values (optional, defaults to false) value a number representing the value of the variable (optional) upper_bound a...

WIMV/Math-LP-0.03 - 29 Oct 2001 10:28:32 GMT

Math::LP::Constraint - representation of constraints in Math::LP objects River stage zero No dependents

A Math::LP::Constraint object has the following fields: lhs a Math::LP::LinearCombination object forming the left hand side of the (in)equality (Required) rhs a constant number for the right hand side of the (in)equality (Defaults to 0) type the (in)...

WIMV/Math-LP-0.03 - 29 Oct 2001 10:28:32 GMT

Math::LP::LinearCombination - linear combination of Math::LP::Variable objects River stage zero No dependents

Any client should not access any other field than the "value" field. This field contains the value of the linear combination, typically obtained in calculate_value(), but it may be set elsewhere (e.g. by the solve() function in Math::LP). The followi...

WIMV/Math-LP-0.03 - 29 Oct 2001 10:28:32 GMT

5 results (0.024 seconds)