rustplex 0.3.0

A linear programming solver based on the Simplex algorithm for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

#[derive(Error, Debug)]
pub enum SolverError {
    #[error("Non-linear programming is not supported yet.")]
    NonLinearNotSupported,

    #[error("Objective function must be set before solving.")]
    ObjectiveMissing,

    #[error("Model has no variables")]
    NoVariables,
}