[Osi] Simple question about addRow and addCol
Stefan Vigerske
stefan at math.hu-berlin.de
Wed Sep 12 14:58:11 EDT 2012
Hi,
rows or columns are always added at the end.
When deleting row or columns, I think the order is kept but holes are
filled. You better delete rows or columns only at the end to be sure.
Stefan
On 09/12/2012 05:18 PM, Victor Miller wrote:
> I'm new to OsiSolverInterface, and am a little frustrated at not being able
> to find very much in the way explanation of typical ways to use it. The
> Doxygen docs only really help once you get the hang of it. In any case,
> here's my simple question: when adding a row via addRow (or addRows) or a
> column via addColumn how do you find out the row number (resp. column
> number) of the newly added entity? It's necessary to know this when, for
> example, I might want to delete a row, or change its upper or lower
> bounds. Will the new row (resp. column) always be added "at the end" (i.e.
> the number will be numRows, or numCols). Do deleted rows or columns leaves
> holes that are never filled?
>
>
> Victor
>
>
>
> _______________________________________________
> Osi mailing list
> Osi at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/osi
>
More information about the Osi
mailing list