[−][src]Struct gurobi::SOS
Proxy object of a Special Order Set (SOS) constraint
Methods from Deref<Target = Proxy>
pub fn index(&self) -> i32
[src]
pub fn get<A: AttrArray>(&self, model: &Model, attr: A) -> Result<A::Out>
[src]
Query the value of attribute.
pub fn set<A: AttrArray>(
&self,
model: &mut Model,
attr: A,
val: A::Out
) -> Result<()>
[src]
&self,
model: &mut Model,
attr: A,
val: A::Out
) -> Result<()>
Set the value of attribute.
pub fn remove(&mut self)
[src]
Trait Implementations
impl Clone for SOS
[src]
impl Debug for SOS
[src]
impl Deref for SOS
[src]
impl DerefMut for SOS
[src]
impl PartialEq<SOS> for SOS
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SOS
impl !Send for SOS
impl !Sync for SOS
impl Unpin for SOS
impl !UnwindSafe for SOS
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,