[Cbc] CBC: gamstest

Stefan Vigerske stefan at math.hu-berlin.de
Wed Nov 9 08:43:07 EST 2011


Hi,

> Hi, i study gamstest in cbc's folder "test" and i would greatly
> appreciate any help.
>
> I am trying to understand functions sos1a and sos2a:
> I want you to tell me what is supposed to be the matrix start[], for
> example in the sos2a function.
> I understood the other matrices (colub,collb, rowlb,rowup,index,value).

(start, index, value) correspond to a column-oriented sparse matrix 
storage format of the coefficient matrix.
Only nonzero elements are stored (in value).
index gives the row index associated with each element.
start[i] gives the position in the index and value arrays where the 
entries for the i'th column start.

http://netlib.org/linalg/html_templates/node92.html#SECTION00931200000000000000

> Found this
> http://www.coin-or.org/Doxygen/Cbc/classOsiCbcSolverInterface.html#73a576aca9049e7b962a8ccb29488058
>
> but didn't help.
>
> I want to use these examples to make a program that will solve an
> -initially- simple Day Ahead Scheduling (DAS) problem, so i propably
> will have meany queries about using cbc.
>
> Because Cbc seems to be very complicated and has thousand of options, is
> there any guidance anywhere i can refer to?

gamstest may not be a good starting point to learn Cbc.
If you look for examples, look into the examples directory, e.g., the 
driver*.cpp files show different methods on how to invoke Cbc.

Also the examples in Osi may be helpful.

Stefan

>
> sorry for your time
> Thank you very much
>
>
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc


-- 
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan


More information about the Cbc mailing list