Click or drag to resize

lpsolve55add_SOS Method


Namespace: DWSIM.MathOps
Assembly: 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
)
Request Example View Source

Parameters

lp  IntPtr
 
name  String
 
sostype  Int32
 
priority  Int32
 
count  Int32
 
sosvars  Int32
 
weights  Double
 

Return Value

Int32
See Also