I think setRowPrice sets the dual solution - not the (primal) row solution.<br><br>Internally, it is the rowActivity_ array that needs to be set - that is what is returned by getRowActivity(). That is why you are not seeing it come back - you are actually setting the duals with setRowPrice.<br>

<br>I am not sure what it does to internals, but I think all you need is a method &quot;setRowSolution&quot; and do a memcpy into rowActivity_.<br><br><br><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Matt,<br>
<br>
        Osi.setColSolution and Osi.setRowPrice will set the column and row<br>
solution, respectively.  Row activity should follow from setColSolution.<br>
<br>
        Based on the Osi unit test, OsiClp ignores imposed row and column<br>
solutions (at least, they are not immediately reflected in the results returned<br>
for row activity and reduced costs).<br>
<br>
                                                Lou<br>
<br>
_______________________________________________<br>
Osi mailing list<br>
<a href="mailto:Osi@list.coin-or.org">Osi@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/osi" target="_blank">http://list.coin-or.org/mailman/listinfo/osi</a><br>
</blockquote></div><br>