Manually Enabling the Tuner
- If your model executes a submodel using Mosel's run subroutine, the tuner will not be enabled for the submodel.
- If your model solves more than one optimization problem, the tuner will be enabled for all problems defined in the model, but the custom tuner settings specified in the Run Model dialog will only apply to the top-level problem.
minimize(XPRS_TUNE, Objective)The second way is to set the xprs_tunermode parameter:
setparam("xprs_tunermode", 1) minimize(Objective)
with subprob do setparam("xprs_tunermode", 0) ! Disable the tuner minimize(SecondaryObjective) done setparam("xprs_tunermode", 1) ! Enable the tuner minimize(PrimaryObjective)
with subprob do setparam("xprs_tunermethodfile", "tunermethod.xtm") setparam("xprs_tunerthreads", 4) minimize(SecondaryObjective) done
For more information about parameters that affect the tuner's behavior, see Using the Tuner in the Optimizer Reference Manual. See the Mosel Language Reference Manual for more information about working with multiple problems in Mosel.
© 2001-2020 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.