[Scip] Optimal duals in *.sol returned by SCIPAMPL

Stefan Vigerske stefan at math.hu-berlin.de
Tue Aug 12 16:51:05 CEST 2014


Hi,

Duals in terms of single values associated with variable bounds and 
constraints make only sense for convex problems, which isn't SCIPs domain.
One could get them through the AMPL interface when solving a LP without 
presolving with SCIP, but I doubt the effort is worth it. Just use an LP 
solver for such cases.

Stefan

On 08/12/2014 04:10 PM, Vladimir VV wrote:
> Dear all,
> Is it possible to get optimal dual variables by *.sol file returned by
> SCIPAMPL ?
> I see following operator
> write_sol((char*)msg, x, NULL, NULL);
> in line #1386 of
> .../scip-3.1.0/interfaces/ampl/src/reader_nl.c
>
> So, nothing duals (the first NULL) nor "wantsol" options ?
> What is the reason of that ?
> BTW, the same was for scip-3.0.2...
>
> Thanks in advance.
> Vladimir V. Voloshinov.
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> http://listserv.zib.de/mailman/listinfo/scip
>



More information about the Scip mailing list