pub enum QConstrStrAttr {
QCName,
QCTag,
}Variants§
QCName
QCTag
- Modifiable: Yes
- Type: string (
String)
Tag for quadratic constraints.
If you will be retrieving the solution to your model in JSON format, you might define a tag for every quadratic constraint that you plan to retrieve solution information for. Each quadratic constraint tag must be unique, and if any tag is used (variable tag, constraint tag, quadratic constraint tag) only tagged elements will appear in the JSON solution string. Tags must consist of printable US-ASCII characters. Using extended characters or escaped characters will result in an error. The maximum supported length for a tag is 10240 characters.
Note that quadratic constraint tags are only allowed for continuous models.
Trait Implementations§
Source§impl AsCStr for QConstrStrAttr
impl AsCStr for QConstrStrAttr
Source§impl Clone for QConstrStrAttr
impl Clone for QConstrStrAttr
Source§fn clone(&self) -> QConstrStrAttr
fn clone(&self) -> QConstrStrAttr
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QConstrStrAttr
impl Debug for QConstrStrAttr
Source§impl FromCStr for QConstrStrAttr
impl FromCStr for QConstrStrAttr
Source§impl Hash for QConstrStrAttr
impl Hash for QConstrStrAttr
Source§impl PartialEq for QConstrStrAttr
impl PartialEq for QConstrStrAttr
impl Copy for QConstrStrAttr
impl Eq for QConstrStrAttr
impl StructuralPartialEq for QConstrStrAttr
Auto Trait Implementations§
impl Freeze for QConstrStrAttr
impl RefUnwindSafe for QConstrStrAttr
impl Send for QConstrStrAttr
impl Sync for QConstrStrAttr
impl Unpin for QConstrStrAttr
impl UnwindSafe for QConstrStrAttr
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