pub enum QConstrIntAttr {
IISQConstr,
IISQConstrForce,
}Variants§
IISQConstr
- Modifiable: No
- Type: integer (
i32)
For an infeasible model, indicates whether the quadratic constraint participates in the computed Irreducible Inconsistent Subsystem (IIS). Only available after you have computed an IIS.
IISQConstrForce
- Modifiable: Yes
- Type: integer (
i32)
When computing an Irreducible Inconsistent Subsytem (IIS) for an infeasible model, indicates whether the quadratic constraint should be included or excluded from the IIS.
The default value of -1 lets the IIS algorithm decide.
If the attribute is set to 0, the constraint is not eligible for inclusion in the IIS.
If the attribute is set to 1, the constraint is included in the IIS and the IIS algorithm never considers the possibility of removing it.
Note that setting this attribute to 0 may make the resulting subsystem feasible (or consistent), which would then make it impossible to construct an IIS. Trying anyway will result in a GRB_ERROR_IIS_NOT_INFEASIBLE error. Similarly, setting this attribute to 1 may result in an IIS that is not irreducible. More precisely, the system would only be irreducible with respect to the model elements that have force values of -1 or 0.
See the Model.computeIIS documentation for more details.
Trait Implementations§
Source§impl AsCStr for QConstrIntAttr
impl AsCStr for QConstrIntAttr
Source§impl Clone for QConstrIntAttr
impl Clone for QConstrIntAttr
Source§fn clone(&self) -> QConstrIntAttr
fn clone(&self) -> QConstrIntAttr
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more