Math::LP::Variable

Math::LP::Variable is a Perl module with variables used in linear programs.
Download

Math::LP::Variable Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Wim Verhaegen
  • Publisher web site:
  • http://search.cpan.org/~wimv/Math-LP-0.03/lib/Math/LP/Variable.pm

Math::LP::Variable Tags


Math::LP::Variable Description

Math::LP::Variable is a Perl module with variables used in linear programs. Math::LP::Variable is a Perl module with variables used in linear programs.SYNOPSIS use Math::LP::Variable; # make a variable named x1 my $x1 = new Math::LP::Variable(name => 'x1'); # make an integer variable named x2 my $x2 = new Math::LP::Variable(name => 'x2', is_int => 1); # make a variable named x3 initialized to 3.1415 my $x3 = new Math::LP::Variable(name => 'x3', value => '3.1415');DATA FIELDSname 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 an upper bound to the value, defaults to 1E24lower_bound a lower bound to the value, defaults to 0col_index an integer number holding the index of the variable in the matrix of the LP the variable is used in (optional) Requirements: · Perl


Math::LP::Variable Related Software