pub enum MpsQuadraticFormat {
Gurobi,
Cplex,
Mosek,
}Expand description
Coefficient convention used by quadratic-constraint MPS sections.
Objective sections always use the conventional 0.5 * x' Q x scaling.
Gurobi-style QCMATRIX and constraint QSECTION records instead encode
polynomial coefficients directly, whereas CPLEX-style records use the
objective/Hessian convention.
Variants§
Gurobi
Gurobi-compatible quadratic-constraint scaling.
Cplex
CPLEX-compatible quadratic-constraint scaling.
Mosek
MOSEK-compatible QSECTION layout and scaling.
Trait Implementations§
Source§impl Clone for MpsQuadraticFormat
impl Clone for MpsQuadraticFormat
Source§fn clone(&self) -> MpsQuadraticFormat
fn clone(&self) -> MpsQuadraticFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MpsQuadraticFormat
Source§impl Debug for MpsQuadraticFormat
impl Debug for MpsQuadraticFormat
Source§impl Default for MpsQuadraticFormat
impl Default for MpsQuadraticFormat
Source§fn default() -> MpsQuadraticFormat
fn default() -> MpsQuadraticFormat
Returns the “default value” for a type. Read more
impl Eq for MpsQuadraticFormat
Source§impl PartialEq for MpsQuadraticFormat
impl PartialEq for MpsQuadraticFormat
impl StructuralPartialEq for MpsQuadraticFormat
Auto Trait Implementations§
impl Freeze for MpsQuadraticFormat
impl RefUnwindSafe for MpsQuadraticFormat
impl Send for MpsQuadraticFormat
impl Sync for MpsQuadraticFormat
impl Unpin for MpsQuadraticFormat
impl UnsafeUnpin for MpsQuadraticFormat
impl UnwindSafe for MpsQuadraticFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more