Title: Message

Hello Gildo,

 

you find an example in glpkVBBeispiel.xls

 

    ReDim zeile(0 To AnzahlKoeffNB) As Long
    ReDim spalte(0 To AnzahlKoeffNB) As Long
    ReDim a(0 To AnzahlKoeffNB) As Double
    ...

    glpk_load_matrix lp, AnzahlKoeffNB, zeile(0), spalte(0), a(0)

The last three parameters are the first elements of arrays. The dimension must be one more than AnzahlKoeffNB (the first elements are unused), and of course contain correct values as requested in the GLPK manual.

 

Regards

Gottfried Lindner

 

Mail: [EMAIL PROTECTED]
Besuchen Sie unsere Domain: www.informatikfuchs.de

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gildo Queiroz
Sent: Donnerstag, 14. Juli 2005 13:46
To: [email protected]
Subject: [Help-glpk] Using GLPK with VB

Hello,

 

I need a example how to use a GLPK with VB... Can anybody help me?

 

When I use a glpl_load_matriz (GLPK48VB.DLL from http://www.informatikfuchs.de/Software/GLPK/glpkVB.htm) an error close de application...

 

Thanks,

 

 

Gildo - Brazil

_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to