[Dip] How to get Master Dual Variables

Matthew Galati magh at lehigh.edu
Sat Oct 16 10:52:12 EDT 2010


You are using an explicit member function of DecompAlgo. You need to include
the header "DecompAlgo.h".

Add:
  #include "DecompAlgo.h"




On Sat, Oct 16, 2010 at 3:52 AM, Kipp Martin <kmartin at chicagobooth.edu>wrote:

> Hi:
>
> At each call of solveRelaxed() in my Dip application I would like to get
> the dual values of the current relaxed master for bounding purposes. I
> get a pointer to a DecompAlgo object
>
> DecompAlgo* da = getDecompAlgo();
>
> and then declare a point of dual values
>
> double *dualVars
>
> and then try to get them
>
> duaVars = da->getMasterDualSolution();
>
> This results in the error
>
> invalid use of incomplete type ‘struct DecompAlgo’
> /Users/kmartin/coin/dip-trunk/vpath-debug/include/coin/DecompApp.h:27:
> error: forward declaration of ‘struct DecompAlgo’
>
> It does not like line 27 of DecompApp.h.
>
>
> How can I get the dual values?
>
> Thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/dip/attachments/20101016/4dad1d52/attachment.html 


More information about the Dip mailing list