COIN-OR

NAME

COIN::OR - NativeCall bindings for the COIN-OR CBC mixed-integer solver

SYNOPSIS

use COIN::OR;
my $model = COIN-OR::Model.new(:name<example>);
    $model.add-column('x', :lower(0), :upper(2), :objective(3), :integer);
    $model.add-column('y', :lower(0), :upper(3), :objective(2), :integer);
    $model.add-row('capacity', [0, 1], [1e0, 1e0], '<=', 4);
    $model.maximize;
    $model.solve or die 'CBC did not find an optimal solution';
    say $model.objective-value;       # 10
    say $model.solution;              # [2e0, 2e0]

DESCRIPTION

This module uses CBC's supported C interface from libCbcSolver. Install the CBC development package described in this distribution's before using it.

COIN-OR v0.0.4

Interface to the COIN-OR numerical optimization solver.

Authors

  • Anton Antonov

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • COIN-OR

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.