/coco-rs

Rust wrapper for COCO benchmark functions. See https://github.com/numbbo/coco.

Primary LanguageRustMIT LicenseMIT

Archiving Notice

This repository has been archived, as the Rust bindings have been merged into the official repository and can be found there: https://github.com/numbbo/coco/tree/master/code-experiments/build/rust

Coco

Crates.io docs.rs

Rust bindings for the COCO Numerical Black-Box Optimization Benchmarking Framework.

See https://github.com/numbbo/coco and https://numbbo.github.io/coco/.

Building coco-sys

This is only necessary when updating COCO. A regular build only requires compilers for Rust and C as well as a call to cargo build.

Requirements

  • git
  • gcc (or any other C compiler)
  • bindgen (cargo install bindgen)
  • bash (for generate.sh)

Build Steps

$ git submodule update --init --recursive
$ cd coco-sys
$ ./generate.sh
$ cargo build