[Scip] how to free a problem preserving the problem data
Ambros Gleixner
gleixner at zib.de
Tue Feb 12 17:34:08 MET 2013
Hi Andreas,
I think what you need is SCIPfreeProb(), see
http://scip.zib.de/doc/html/scip_8h.shtml#a9c7bee6cab2932a89e63bfb62053d72b
Best regards,
Ambros
Am 12.02.2013 15:35, schrieb Andreas Gebauer:
> Hi all,
>
> I just wondered what the best way may be in order to free a SCIP problem completely (including variables and constraints) except for the problem data.
> We try to implement a rolling solution process with a rather extensive initialization (using some self-written readers) that feeds the ProbData.
> After reaching a (hopefully good) solution, we want to delete all variables and constraints (as they are too specific in order to use them in the next step) and free the solving process. After that, new variables and constraints are added using the problem data.
> SCIPfreeTransform does not delete variables and constraints while SCIPfree frees all ProbData.
> I've also experimented with SCIPcopy functionality as well as with copying probdata but I got nowhere.
>
> Thanks and best regards
> Andreas
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> http://listserv.zib.de/mailman/listinfo/scip
>
--
____________________________________________________________
Ambros M. Gleixner
Zuse Institute Berlin - Matheon - Berlin Mathematical School
http://www.zib.de/gleixner
More information about the Scip
mailing list