[SCIP] How to get stored solution

Stefan Vigerske stefan at math.hu-berlin.de
Fri Apr 20 16:58:02 CEST 2018


Hi,

On 04/20/2018 04:53 PM, André Filipe Lanca Serrano wrote:
 > [...]
> SCIP_Real* vals;
> 
> SCIPgetSolVals(scip, sol, nvars, vars, vals);
 > [...]

Try allocating some memory to vals before passing it to SCIPgetSolVals.

And have look at tools like gdb and valgrind.

Stefan


More information about the Scip mailing list