[Help-glpk] Fwd: RE: RE: RE: Help! AccessViolationException in GLPK

2016-10-13 Thread Heinrich Schuchardt
Anfang der weitergeleiteten E-Mail > Von: "Захарова Наталья Иркиновна" > Datum: 13. Oktober 2016 um 15:07 > An: "Heinrich Schuchardt" > Betreff: RE: RE: RE: Help! AccessViolationException in GLPK > > Thank you! > > -Original Message- > From: Heinrich Schuchardt

Re: [Help-glpk] Help! AccessViolationException in GLPK

2016-10-13 Thread Захарова Наталья Иркиновна
Sorry, At begin int varCounter=0; -Original Message- From: Захарова Наталья Иркиновна Sent: Thursday, October 13, 2016 4:35 PM To: 'Heinrich Schuchardt' Cc: help-glpk@gnu.org; bug-g...@gnu.org Subject: RE: RE: Help! AccessViolationException in GLPK Thank you! I understand that, and

Re: [Help-glpk] Help! AccessViolationException in GLPK

2016-10-13 Thread Захарова Наталья Иркиновна
Hello! I try use glpk for c#. I'm widows 10 and VS 2015 amd 64-bit Windows. But my application is 32 bit. I add libglpk-cli.dll to project and add libglpk_cli_native and glpk_4_60 to /bin directory. Test to solve was excellent. When I try use glpk in me application In GLPK.glp_add_cols(lp,

Re: [Help-glpk] Help! AccessViolationException in GLPK

2016-10-13 Thread Захарова Наталья Иркиновна
Thank you! I understand that, and create a variable with the number 1. The problem occurs at 4965 variable. And this is not the last variable. And each time is a different number. while (dateFrom <= dateTo) { for (var hour = 0; hour < 24; hour++)

Re: [Help-glpk] Help! AccessViolationException in GLPK

2016-10-13 Thread Heinrich Schuchardt
Hello Natalia, indexes in GÖPK start stopp 1. So if you have 10 rows/columns you need arrays with 11 entries. Best regards Heinrich Schuchardt http://www.xypron.de Am 13.10.16 um 12:32 schrieb Захарова Наталья Иркиновна > Hello! > I try use glpk for c#. > I'm widows 10 and VS 2015 amd

Re: [Help-glpk] Help! AccessViolationException in GLPK

2016-10-13 Thread Heinrich Schuchardt
Best regards Heinrich Schuchardt http://www.xypron.de Am 13.10.16 um 12:32 schrieb Захарова Наталья Иркиновна > Hello! > I try use glpk for c#. > I'm widows 10 and VS 2015 amd 64-bit Windows. But my application is 32 bit. > I add libglpk-cli.dll to project and add libglpk_cli_native and

[Help-glpk] [Fwd: Help! AccessViolationException in GLPK]

2016-10-13 Thread Andrew Makhorin
Forwarded Message From: Захарова Наталья Иркиновна To: help-glpk@gnu.org , xypron.g...@gmx.de , bug-g...@gnu.org Subject: Help! AccessViolationException in GLPK Date: Thu, 13 Oct 2016