Initializing help system before first use

# insightmaximize, insightminimize

Purpose
Solves the optimization problem defined by the Mosel model.
Synopsis
`procedure insightmaximize(alg:integer, obj:linctr)`
`procedure insightmaximize(obj:linctr)`
`procedure insightmaximize(alg:integer, obj:nlctr)`
`procedure insightmaximize(obj:nlctr)`
`procedure insightmaximize(alg:integer, objslist:any, objconfs:list of objconfig)`
`procedure insightmaximize(objslist:any, objconfs:list of objconfig)`
`procedure insightmaximize(alg:integer, objsarray:any, objconfs:array(set of integer) of objconfig)`
`procedure insightmaximize(objsarray:any, objconfs:array(set of integer) of objconfig)`
`procedure insightminimize(alg:integer, obj:linctr)`
`procedure insightminimize(obj:linctr)`
`procedure insightminimize(alg:integer, obj:nlctr)`
`procedure insightminimize(obj:nlctr)`
Arguments

alg | The solver algorithm choices, as defined by mmxprs.maximize
obj | The objective function constraint
objslist | List of objective functions (multi-objective). The list can be of any type and can contain a mixture of mpvar, linctr and nlctr.
objsarray | Array of objective functions (multi-objective). The array can be of any type and can contain a mixture of mpvar, linctr and nlctr, but must be indexed by the same values as the objconfs argument.
objconfs | Objective configurations (multi-objective)
opts | Additional options to use during the solve

Example

    declarations
     Profit: linctr
    end-declarations

    insightmaximize(Profit)

Solve the optimization model for maximum profit

    declarations
     Costs: linctr
    end-declarations

    insightminimize(XPRS_BAR,Costs)

Solve the optimization model to minimize costs, using the Newton-Barrier algorithm
Further information
These procedures should be used as a substitute for the standard mmxprs minimize/maximize procedures in an Xpress Insight compatible model. The procedures apply the disable and relaxable settings to the model before calling minimize/ maximize. Before returning, the procedures capture the final runtime metrics of the solver.
Parent Topic Core Functionality

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