Initializing help system before first use

GetMIPEntities(Int32, Char[], Int32[], Double[]) Method

Retrieves integr and entity information about a problem. It must be called before mipOptimize if the presolve option is used.

Namespace:  Optimizer
Assembly: xprsdn (in xprsdn.dll) Version: 46.01.01+a3a330cd064168136e2506c7bff46e7bb9a4854d
Syntax
C#
public void GetMIPEntities(
	out int p_nentities,
	char[] coltype,
	int[] colind,
	double[] limit
)

Parameters

p_nentities   Int32
Pointer to the integer where the number of binary, integer, semi-continuous, semi-continuous integer and partial integer entities will be returned. This is equal to the problem attribute MIPENTS. May be null.
coltype   Char
Character array of length MIPENTS where the entity types will be returned. The types will be one of:
  • B: binary variables;
  • I: integer variables;
  • P: partial integer variables;
  • S: semi-continuous variables;
  • R: semi-continuous integer variables.
May be null if not required.
colind   Int32
Integer array of length MIPENTS where the column indices of the MIP entities will be returned. May be null if not required.
limit   Double
Double array of length MIPENTS where the limits for the partial integer variables and lower bounds for the semi-continuous and semi-continuous integer variables will be returned (any entries in the positions corresponding to binary and integer variables will be meaningless). May be null if not required.
Remarks
Examples using GetMIPEntities:
See Also

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.