AnsweredAssumed Answered

ADDMIPSOL and XPRS_CB_SOLNOTIFY

Question asked by bsantos@ele.puc-rio.br on May 4, 2016
Latest reply on May 9, 2016 by Susanne.Heip

Hi everyone,

 

I am looking for how to use "addmipsol" and find online the following example:

 

     public procedure solnotify(id:string, status:integer)

          writeln("Optimiser loaded solution ",id," status=",status)

     end-procedure

 

     addmipsol(id,heursol)

     setcallback(XPRS_CB_SOLNOTIFY,"solnotify")

 

I adapted this example to my code and it is working. The point is that the callback procedure prints a status equal to 3 and I could not find any reference to what it means. Does anyone has the specifications behind XPRS_CB_SOLNOTIFY.


Thanks for any help.

Bruno Fanzeres

 

Outcomes