ContentsIndexHome
PreviousUpNext
IAimmsMathProgramCallback::PassProgressInfo Method

Passes progress information to AIMMS using a standard format.

virtual void PassProgressInfo(
    size_t prog_int[], 
    double prog_dbl[]
) = 0;
Parameters 
Description 
size_t prog_int[] 
Array of size IntegerProgressInfo::PROG_IMAX, indexed over the IntegerProgressInfo enumeration, containing integer valued progress information. 
double prog_dbl[] 
Array of size DoubleProgressInfo::PROG_DMAX, indexed over the DoubleProgressInfo enumeration, containing double-valued valued progress information. 

The PassProgressInfo method does not have a return value.

With the PassProgressInfo method progress information can be passed to AIMMS. This method should be called just before the actual solve starts, and just before returning the control to AIMMS. If the solver is capable of doing callbacks during the solution process itself, then this method should be called every n iterations where n is the value of the AIMMS option IntegerGeneralOption::IOPT_progress_solution. The information passed via this method is used to update the Progress Window in AIMMS.

The PassProgressLines method is an alternative for the two methods PassProgressInfo and PassPhaseInfo, and provides more control. You should choose to pass progress information using either of the two approaches, you should not mix both.

Copyright © 1993–2016 by AIMMS B.V. All rights reserved.