Math::Optimization

Mathematical optimization algorithms.

Math::Optimization

Raku package for mathematical optimization algorithms.

Installation

Make sure the Raku package "COIN-OR", [AAp1], is installed.

Install from Zef ecosystem:

zef install Math::Optimization

From GitHub:

zef install https://github.com/antononcube/Raku-Math-Optimization.git

Usage examples

linear-programming

Minimize x + y, subject to constraint x + 2 * y ≄ 3 and lower bounds 2 ≄ x ≄ -1, 1 ≄ y ≄ -1:

linear-programming([1, 1], [(1, 2),], [3,], [[-1, 2], [-1, 1]])
# [1 1]

See more examples in the Markdown document "LinearProgramming.md". (Obtained by executing "LinearProgramming-work.md" by the script file-code-chunks-eval provided by the package "Text::CodeProcessing", [AAp2].)

References

[AAp1] Anton Antonov, COIN-OR, Raku package, (2026), GitHub/antononcube.

[AAp2] Anton Antonov, Text::CodeProcessing, Raku package, (2026), GitHub/antononcube.

Math::Optimization v0.0.3

Mathematical optimization algorithms.

Authors

  • Anton Antonov

License

Artistic-2.0

Dependencies

COIN-OR:ver<0.0.4+>Data::TypeSystem:ver<0.1.9+>Math::MatrixMath::SparseMatrix:ver<0.0.16+>

Test Dependencies

Provides

  • Math::Backends::COIN-OR
  • Math::Optimization

The Camelia image is copyright 2009 by Larry Wall. "Raku" is a trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.