[Coin-standards] Let's see some code! (was:) Re: Technical Item! was: Re: [Coin-standards]
Re: SMPS reader
Leonardo B. Lopes
leo at iems.nwu.edu
Tue Apr 23 18:46:05 EDT 2002
Great! Actually, I implemented my own sparse matrices to do two operations
that we need for reading and writing SMPS. I can add the operations to one
of the Osi representations this week. I haven't seen the operations before
in the SM books I looked at, so I gave them original names. If you have
seen them and know what the proper names should be, please let me know.
The operations are:
Sparse Matrix OR:
C = A || B if:
c_ij = a_ij forall ij in A;
c_ij = b_ij forall ij in B \ A;
c_ij undef ow.
and
Sparse Matrix Remainder:
A = C % B if
C = A || B and
if C' = A || B then card(def(C)) <= card(def(C'))
Leo.
On Mon, 15 Apr 2002, Matthew Saltzman wrote:
> On Mon, 15 Apr 2002, Leonardo B. Lopes wrote:
>
> > On Mon, 15 Apr 2002, Matthew Saltzman wrote:
> >
> > >
> > > I haven't read John's code yet, but since it's in the COIN OSI, it's a
> > > good bet that he uses the COIN OSI internal representation. If you want
> > > to write a reference implementation, I think that would be a good target.
> > >
> >
> > So is there a coin sparse matrix class? I couldn't find it on the web...
>
> OsiPackedMatrix. We also havea a couple of sparse vector classes
> (OsiPackedVector, OsiShallowPackedVector, and OsiIndexedVector).
>
> Recently added: OsiFactorization.
>
> --
> Matthew Saltzman
>
> Clemson University Math Sciences
> mjs at clemson.edu
> http://www.math.clemson.edu/~mjs
>
>
========================================================================
Leonardo B. Lopes leo at iems.nwu.edu
Ph.D. Student (847)491-8470
IEMS - Northwestern University http://www.iems.nwu.edu/~leo
More information about the Coin-standards
mailing list