Initializing help system before first use

# addmanagedcuts

Purpose
Add an array of cuts to the optimizer's internal cut pool.
Synopsis
`procedure addcuts(glb:boolean, type:array(range) of integer, linexp:array(range) of linctr)`
Arguments

glb | If true the cuts should be assumed to be valid for the whole problem, otherwise they will be valid for the current node and its descendants
type | Array of cut types (equation/inequality):
CT_GEQ | Inequality (greater or equal)
CT_LEQ | Inequality (less or equal)
CT_EQ | Equality
linexp | Array of linear expressions (= unbounded constraints)

Further information
1. The cuts will be added to an internal pool of cuts managed by the optimizer. Note that the two arrays that are passed as parameters to this procedure must have the same index set.
2. This routine can only be called from the solver callback XPRS_CB_CUTROUND (see setcallback).
Related topics
addmanagedcut, addcuts.
Module
mmxprs
Parent Topic Cut Pool Manager

© 2001-2026 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.