Trait dypdl::AddDualBound

source ·
pub trait AddDualBound<T> {
    // Required method
    fn add_dual_bound(&mut self, bound: T) -> Result<(), ModelErr>;
}
Expand description

Trait for adding a dual bound.

Required Methods§

source

fn add_dual_bound(&mut self, bound: T) -> Result<(), ModelErr>

Adds a dual bound.

§Errors

If the expression is invalid, e.g., it uses not existing variables or the state of the transitioned state.

Implementors§