DotNet Reference
.Net Reference
Objective.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);
52 operations_research_linear_solverPINVOKE.Objective_SetCoefficient(swigCPtr, Variable.getCPtr(var), coeff);
56 double ret = operations_research_linear_solverPINVOKE.Objective_GetCoefficient(swigCPtr, Variable.getCPtr(var));
static void Objective_SetOptimizationDirection(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
void SetOffset(double value)
Definition: Objective.cs:60
static double Objective_GetCoefficient(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool Objective_Maximization(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Objective_SetOffset(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
void SetMinimization()
Definition: Objective.cs:73
Definition: operations_research_linear_solverPINVOKE.cs:13
static void Objective_SetMinimization(global::System.Runtime.InteropServices.HandleRef jarg1)
void SetOptimizationDirection(bool maximize)
Definition: Objective.cs:69
static double Objective_BestBound(global::System.Runtime.InteropServices.HandleRef jarg1)
static double Objective_Value(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual void Dispose(bool disposing)
Definition: Objective.cs:35
static void Objective_SetMaximization(global::System.Runtime.InteropServices.HandleRef jarg1)
void SetCoefficient(Variable var, double coeff)
Definition: Objective.cs:51
double GetCoefficient(Variable var)
Definition: Objective.cs:55
static bool Objective_Minimization(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_Objective(global::System.Runtime.InteropServices.HandleRef jarg1)
static double Objective_Offset(global::System.Runtime.InteropServices.HandleRef jarg1)
void SetMaximization()
Definition: Objective.cs:77
static void Objective_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Objective_SetCoefficient(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3)