[SCIP] Selecting aggressive heuristic emphasis from pyscipopt

Graczyk, Christoph graczyk at zib.de
Thu Feb 18 11:21:27 CET 2021


Hi Tim,
This should be what you are looking for:

model.setHeuristics(SCIP_PARAMSETTING.AGGRESSIVE)

This exists for the other Metaparameters Presolve and Separating as well, with the options DEFAULT, OFF, FAST, AGGRESSIVE.
Feel free to visit the Github page for PySCIPOpt  (https://github.com/scipopt/PySCIPOpt), where you can ask specifically about PySCIPOpt.

Best Regards,

Christoph

________________________________
Von: Scip <scip-bounces at zib.de> im Auftrag von Varelmann, Tim <varelmann at aices.rwth-aachen.de>
Gesendet: Donnerstag, 18. Februar 2021 10:31
An: scip at zib.de
Betreff: Re: [SCIP] Selecting aggressive heuristic emphasis from pyscipopt


Dear SCIP-Team,

I have an optimization problem that has sharp dual bound virtually immediately but takes a while to find good primal solutions, so I am looking for a way to set the heuristic emphasis to aggressive from pyscipopt, similar to setting a limit with a command like:



model.setRealParam('limits/gap', 0.01)



Is that possible in pyscipopt? If not, is there an alternative way?

Thanks,

Tim


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20210218/0c15ae5c/attachment.html>


More information about the Scip mailing list