amplrs 0.1.1

Safe Rust API for AMPL optimization modeling system
1
2
3
4
5
6
7
8
9
10
11
use crate::ffi;

pub struct Tuple {
    pub raw: *mut ffi::AMPL_TUPLE,
}

impl Tuple {
    pub fn new(raw: *mut ffi::AMPL_TUPLE) -> Self {
        Tuple { raw: raw }
    }
}