lpsolve 55add_ SOS Method
Definition
Namespace: DWSIM.MathOps
Assembly: DWSIM.MathOps (in DWSIM.MathOps.dll) Version: 10.0.0.0
Assembly: DWSIM.MathOps (in DWSIM.MathOps.dll) Version: 10.0.0.0
C#
[DllImportAttribute("lpsolve55", CharSet = CharSet.Ansi, ExactSpelling = true,
SetLastError = true)]
public static int add_SOS(
IntPtr lp,
ref string name,
int sostype,
int priority,
int count,
int[] sosvars,
double[] weights
)VB
<DllImportAttribute("lpsolve55", CharSet := CharSet.Ansi, ExactSpelling := true,
SetLastError := true>]
Public Shared Function add_SOS (
lp As IntPtr,
ByRef name As String,
sostype As Integer,
priority As Integer,
count As Integer,
sosvars As Integer(),
weights As Double()
) As Integer