[SCIP] Using SCIP + ZIMPL command line, how to get the values of dual variables?

Gregor Hendel hendel at zib.de
Wed Aug 15 09:42:42 CEST 2018


Dear Christiano,

please have a look at our FAQ, specifically the question Can I use SCIP 
as a pure LP solver 
<http://scip.zib.de/doc-6.0.0/html/FAQ.php#scipaslpsolver>, that 
discusses this and also the limitations of SCIP for pure LPs.

Happy solving,
Gregor


Am 14.08.2018 um 18:36 schrieb Cristiano Arbex:
> Dear SCIP team,
>
> How can I get the values of the dual variables when running SCIP  via 
> command line?
>
> For instance, I am on Linux Ubuntu and I run, with the command *scip < 
> script.txt*, a script.txt file containing:
>
> *read model.zpl
> opt
> write statistics model_stats.txt
> write solution model_solution.txt
> quit*
>
> where model.zpl is just a toy problem:
>
> *var x1 >= 0;
> var x2 >= 0;
> var x3 >= 0;
> var x4 >= 0;
>
> maximize f: 1*x1 + 1*x2;
>
> subto c1:    2*x1 + 1*x2 + 1*x3        == 2;
> subto c2:    1*x1 + 2*x2        + 1*x4 == 2;
> *
>
> Is there a simple way to get the values of the dual variables of this 
> simple example? The statistics and solution files don't seem to have it.
>
> Thanks a lot,
> Cristiano
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20180815/9ccfc0ed/attachment.html>


More information about the Scip mailing list