help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] Segmentation Fault


From: Fernando Garcia
Subject: [Help-glpk] Segmentation Fault
Date: Fri, 20 Nov 2015 12:00:40 +0100

Hello everyone,

I am having problems with segmentation fault error. I am using GLPK packet in C++. 

I am applying Benders Decomposition to a system. In each iteration, I have to add one cut to a Master Problem, so, for that, I have created and index called "iter".

#define iter 50

With that, my system can only achieve 50 iterations because after there is an error with the variables that depends on this number of iterations:

double Y_fix[iter][G]

I have tried to increase the value of that set, but after 61, I got "segmentation error". If someone could tell me why it can be, will be a great help.


Thanks everyone in advance,

Fernando


reply via email to

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