Originally posted by: suji248
Hello
Am getting this below error when solving CPLEX both LP and MIP in parallel. Once I get this error even after making new CPLEX environment am getting same error again.
System.AccessViolationException was unhandled
HResult=-2147467261
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=ILOG.CPLEX
StackTrace:
at ILOG.CPLEX.CplexStubs.CPXmipopt(IntPtr env_, IntPtr lp_)
at ILOG.CPLEX.CplexI.Solve()
at ILOG.CPLEX.Cplex.Solve()
....................................................
at System.Threading.Tasks.Task.Execute()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
InnerException:
#CPLEXOptimizers#DecisionOptimization