[Coin-symphony] Deleting Rows and Columns with OsiSymSolverInterface

Goehring lutz.goehring at uni-hohenheim.de
Fri Jan 19 09:42:11 EST 2007


Hi all,

I am doing something like:

OsiSymSolverInterface::deleteRows( specificProblem-
>getNumberOfRowsToDrop() , specificProblem->getRowsToDrop() );
OsiSymSolverInterface::( specificProblem->getNumberOfColsToDrop() ,
specificProblem->getColsToDrop() );

to delete rows and cols which are zero.
During runtime this results in the Error message:

*** glibc detected *** double free or corruption (!prev): 0x08605f00 ***
Aborted

In parallal, I am also using OSL via the OsiSolverInterface:

OsiOslSolverInterface::deleteRows( specificProblem-
>getNumberOfRowsToDrop() , specificProblem->getRowsToDrop() );
OsiOslSolverInterface::( specificProblem->getNumberOfColsToDrop() ,
specificProblem->getColsToDrop() );

This works fine and gives the correct result.

My problem size is 553 x 2320 and consisting of a sparse matrix which I
want to reduce by the above stated methods.

Would appreciate any help.

Cheers,

Lutz 

-- 
Lutz Göhring
Scientific Assistant

with Prof. Thomas Berger

Professur (i.V.) für Ökonomik der Landnutzung in den Tropen und Subtropen
(Professorship (p.p.) for Land Use Economics in the Tropics and
Subtropics)
Institute for Agricultural Economics and Social Sciences in the Tropics
and Subtropics, 
University of Hohenheim, Stuttgart

e-mail: lutz.goehring at uni-hohenheim.de
Tel.: +49-711-459-23615




More information about the Symphony mailing list