Skip to content

Download MIDACO 7 for Rust

midaco.rs

MIDACO 7 Rust Gateway

Download

Example Problems

Problem TypeDescriptionRust
NLPContinuous variablesexample_NLP.rs
NLPcNLP with constraintsexample_NLPc.rs
IPInteger variablesexample_IP.rs
IPcIP with constraintsexample_IPc.rs
MINLPMixed variablesexample_MINLP.rs
MINLPcMINLP with constraintsexample_MINLPc.rs
MOMultiple Objectivesexample_MO.rs

Additional Files

FileDescription
Cargo.tomlCargo project file
build.rsLinks the library

How to Run

  1. Save midaco.rs, Cargo.toml, build.rs, the library file and example_MINLPc.rs in one folder
  2. Build and run the example in this folder
    cargo run --release

Another example: replace example_MINLPc in Cargo.toml.

Screenshot and Solution File

Console output of example_MINLPc
Console
MIDACO_SOLUTION.TXT of example_MINLPcMIDACO_SOLUTION.TXT of example_MINLPc
MIDACO_SOLUTION.TXT