[FlopCpp] Lookup in domains
Weiguo Liu
weiguo at yahoo-inc.com
Tue Jun 19 10:47:32 EDT 2007
I understand your pain.
I think one way can make it a little easier if we can pass in column and row
names, then check the lp or mps output file.
Im not sure if FlopC++ allowing column and row names?
Weiguo
_____
From: flopcpp-bounces at list.coin-or.org
[mailto:flopcpp-bounces at list.coin-or.org] On Behalf Of Berit Løfstedt
Sent: Tuesday, June 19, 2007 6:35 AM
To: flopcpp at list.coin-or.org
Subject: [FlopCpp] Lookup in domains
Having build a model in flopc++ I now need to interpret the results of the
model. However, I find it hard to map variables back to domains.
Furthermore, I need to lookup in subsets according to a variables index in a
given domain. ( i.e. I have a subset DP(D,P) and I have the index for D=idx
- how do I get the P.such_that(DP(idx,P) returns me the indexes ?)
I have tried looking at forall and such_that defined for sets, but cannot
really make it work. Is there a functionality in flopcpp that I am
overlooking, which enables me to map a solution vector back to the domains
defining the variable?
I realise that I can simply iterate through the sets, but there is much
redundant work combined with this, when all i need is a reverse map from an
index(indices) to a domain.
Another request is references to good examples on the web on how to
interpret the results of the LP back to the domains, that defined them.
--
Best Regards,
Berit Løfstedt
berit at ange.dk
Ange Optimization
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/flopcpp/attachments/20070619/f040d239/attachment.html
More information about the FlopCpp
mailing list