c++ - CPLEX: Any Callbacks called per solution found while polishing? -


what callbacks called during polishing? more specifically, there callback gets called each new solution found during polishing?

i have (old) code in c++ uses mipinfocallback , gets called fine during b&b, during polishing doesn't seem called, though polishing finds maybe 20 or 30 improved solutions. documentation states callbacks called during polishing, may mipinfocallback gets called before each node explored, , in case polishing not explore nodes.

i tried switching using incumbent callback, seems have huge performance impact me - changing type of callback mipinfocallback incumbentcallback changes time first integer feasible solution 20 mins on 3 hours (i changing type of callback, leaving body of callback unchanged). suspect because use of incumbent callback turns things off in search.

this in c++ on windows cplex 12.1, planning update 12.5 soon.

have tried cpxsetincumbentcallbackfunc c callable library? haven't examined behaviour when polishing, permit user reject solutions @ whim, imagine must called whenever incumbent updated --- including during polishing.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -