Struct gurobi::SOS [−][src]
pub struct SOS(_);
Proxy object of a Special Order Set (SOS) constraint
Methods from Deref<Target = Proxy>
pub fn get<A: AttrArray>(&self, model: &Model, attr: A) -> Result<A::Out>
[src]
pub fn get<A: AttrArray>(&self, model: &Model, attr: A) -> Result<A::Out>
Query the value of attribute.
pub fn set<A: AttrArray>(
&self,
model: &mut Model,
attr: A,
val: A::Out
) -> Result<()>
[src]
pub fn set<A: AttrArray>(
&self,
model: &mut Model,
attr: A,
val: A::Out
) -> Result<()>
Set the value of attribute.
pub fn remove(&mut self)
[src]
pub fn remove(&mut self)
Trait Implementations
impl Clone for SOS
[src]
impl Clone for SOS
fn clone(&self) -> SOS
[src]
fn clone(&self) -> SOS
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Deref for SOS
[src]
impl Deref for SOS
type Target = Proxy
The resulting type after dereferencing.
fn deref(&self) -> &Proxy
[src]
fn deref(&self) -> &Proxy
Dereferences the value.
impl DerefMut for SOS
[src]
impl DerefMut for SOS
impl PartialEq for SOS
[src]
impl PartialEq for SOS