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

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

2016-10-13 Thread Захарова Наталья Иркиновна
arcounter); GLPK.glp_set_col_kind(lp, varcounter, type); } -Original Message- From: Heinrich Schuchardt [mailto:xypron.g...@gmx.de] Sent: Thursday, October 13, 2016 4:30 PM To: Захарова Наталья Иркиновна Subject: Re: RE: Help! AccessViolationException in GLPK Hello Natalia, could you pleas

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

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,