My opl interface in c++ got stuck when it's calling either opl.end() or env.end(), and I couldn't find anything wrong with my codes, just to give you an idea:
IloOplErrorHandler handler(env, cout);
IloOplModelSource modelSource(env, ModFile.c_str());
IloOplSettings settings(env, handler);
IloOplModelDefinition def(modelSource, settings);
status = 127;
I also tried to end all other objects; they are fine except these two.
I would appreciate any suggestions. Thanks in advance.
Pinned topic Problems with opl.end() and env.end()
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-03-01T12:59:24Z at 2013-03-01T12:59:24Z by SystemAdmin
SystemAdmin 110000D4XK1883 Posts
Re: Problems with opl.end() and env.end()2013-03-01T12:59:24ZThis is the accepted answer. This is the accepted answer.This problem was caused by the heap corruption in some other part of my program. When I disabled that part, opl.end() and env.end() work fine.