<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I understand your pain. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>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. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I&#8217;m not sure if FlopC++ allowing
column and row names?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Weiguo <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
flopcpp-bounces@list.coin-or.org [mailto:flopcpp-bounces@list.coin-or.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Berit Løfstedt<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, June 19, 2007 6:35
AM<br>
<b><span style='font-weight:bold'>To:</span></b> flopcpp@list.coin-or.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> [FlopCpp] Lookup in
domains</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>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.&nbsp; ( 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 ?)<br>
<br>
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? <br>
<br>
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.<br>
<br>
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. <br>
<br>
<br>
-- <br>
Best Regards,<br>
<br>
Berit Løfstedt<br>
<a href="mailto:berit@ange.dk">berit@ange.dk</a><br>
Ange Optimization <o:p></o:p></span></font></p>

</div>

</body>

</html>