DotNet Reference
DotNet Reference
Constraint.cs
Go to the documentation of this file.
23 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
42 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
53 operations_research_linear_solverPINVOKE.Constraint_SetCoefficient(swigCPtr, Variable.getCPtr(var), coeff);
57 double ret = operations_research_linear_solverPINVOKE.Constraint_GetCoefficient(swigCPtr, Variable.getCPtr(var));
103 Solver.BasisStatus ret = (Solver.BasisStatus)operations_research_linear_solverPINVOKE.Constraint_BasisStatus(swigCPtr);
virtual void Dispose(bool disposing)
Definition: Constraint.cs:35
void SetCoefficient(Variable var, double coeff)
Definition: Constraint.cs:52
static int Constraint_Index(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool Constraint_IsLazy(global::System.Runtime.InteropServices.HandleRef jarg1)
static double Constraint_GetCoefficient(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
Solver.BasisStatus BasisStatus()
Definition: Constraint.cs:102
static void Constraint_SetBounds(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3)
static void Constraint_SetCoefficient(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3)
Definition: Solver.cs:13
static void Constraint_SetUb(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void Constraint_SetIsLazy(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void delete_Constraint(global::System.Runtime.InteropServices.HandleRef jarg1)
void SetIsLazy(bool laziness)
Definition: Constraint.cs:88
static int Constraint_BasisStatus(global::System.Runtime.InteropServices.HandleRef jarg1)
static double Constraint_DualValue(global::System.Runtime.InteropServices.HandleRef jarg1)
double GetCoefficient(Variable var)
Definition: Constraint.cs:56
static void Constraint_SetLb(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double Constraint_Ub(global::System.Runtime.InteropServices.HandleRef jarg1)
Definition: Constraint.cs:11
Definition: operations_research_linear_solverPINVOKE.cs:13
void SetBounds(double lb, double ub)
Definition: Constraint.cs:79
static double Constraint_Lb(global::System.Runtime.InteropServices.HandleRef jarg1)
static string Constraint_Name(global::System.Runtime.InteropServices.HandleRef jarg1)