XPRS_mse_getcullchoice
int XPRS_CC XPRS_mse_getcullchoice(XPRSmipsolenum mse, int iMetricId, int cull_sol_id_list[], int nMaxSolsToCull, int * nSolsToCull, double dNewSolMetric, const double x[], int nCols, int * bRejectSoln)
mse
|
The current MIP solution enumerator.
|
iMetricId
|
Id of metric for which the solutions should be compared e.g., the MIP objective value is used when
MSE_METRIC_MIPOBJECT is passed down. A full list of all available metrics may be found in Chapter
MSE Attributes, or from the list in the
xprs.h header file.
|
cull_sol_id_list
|
Integer array where the solution ids will be returned. May be NULL if not required.
|
nMaxSolsToCull
|
The maximum number of solutions required to be returned in
cull_sol_id_list.
|
nSolsToCull
|
Pointer to an integer where the number of solution ids that were written to
cull_sol_id_list is returned. May be NULL if not required.
|
dNewSolMetric
|
The metric value for the new solution for the metric identified by iMetricId. It is assumed that the user wishes to decide whether or not to keep the new solution given that solutions in the returned list
cull_sol_id_list are recommended to be dropped.
|
x
|
The solution values of the new solution. The diversity metric (
MSE_METRIC_DIVERSITY) requires the solution values in order to calculate the new solution's metric with respect to the currently stored solutions. Other metrics simply use
dNewSolMetric and do not require the solution values. May be NULL if not required.
|
nCols
|
The number of columns in the solution array x. This must be the same as the number of (initial) columns in the enumeration problem.
|
bRejectSoln
|
If this is passed down as NULL or if its value is non-zero then the given new solution is ignored.
|
© 2001-2024 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.