Namespace: DWSIM.MathOpsAssembly: DWSIM.MathOps (in DWSIM.MathOps.dll) Version: 8.8.1.0
Syntax [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
)
<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
Request Example
View SourceParameters
- lp IntPtr
-
- name String
-
- sostype Int32
-
- priority Int32
-
- count Int32
-
- sosvars Int32
-
- weights Double
-
Return Value
Int32See Also