help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Help-glpk] Using GLPK with VB


From: Gottfried Lindner
Subject: RE: [Help-glpk] Using GLPK with VB
Date: Thu, 14 Jul 2005 16:01:38 +0200

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: address@hidden
Besuchen Sie unsere Domain: www.informatikfuchs.de

-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Gildo Queiroz
Sent: Donnerstag, 14. Juli 2005 13:46
To: address@hidden
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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]