Topic
  • 1 reply
  • Latest Post - ‏2013-07-16T07:53:58Z by parisamajlessi
parisamajlessi
parisamajlessi
2 Posts

Pinned topic problem fails to generate in the second iteration

‏2013-07-15T14:46:55Z |

Hello,

I would sincerely appreciate some help here.

I am trying to solve a problem through iterations. the fist itération works just fine. but for the second iteration the problem fails to generate.

I have checked if the data is well produced for the second iteration. and to check feasibilty for the second iteration, i have solved the model manually with the responses of the first iteration and i have obtained a good solution.

when I put messages in the script to see where the resolution stops, it's at the problem generation, though it works fine for the first time.

the error I receive is "c000000 EXCEPTION_ACCESS_VIOLATION".

 

would ve very grateful for some clarifications.

.mod and .dat are attached.

 

thanks in advance.

 

 

 

Updated on 2013-07-16T07:55:25Z at 2013-07-16T07:55:25Z by parisamajlessi
  • parisamajlessi
    parisamajlessi
    2 Posts
    ACCEPTED ANSWER

    Re: problem fails to generate in the second iteration

    ‏2013-07-16T07:53:58Z  

    well i found out what was wrong with the help of olivier on another post for the error "c000000 EXCEPTION_ACCESS_VIOLATION".

    what needs to be done is to reinitialize the cplex engine at each iteration, while in my programme it's only initiated once, outside of the while loop.

     

    thanks,

    parissa

    Updated on 2013-07-16T07:54:51Z at 2013-07-16T07:54:51Z by parisamajlessi
  • parisamajlessi
    parisamajlessi
    2 Posts

    Re: problem fails to generate in the second iteration

    ‏2013-07-16T07:53:58Z  

    well i found out what was wrong with the help of olivier on another post for the error "c000000 EXCEPTION_ACCESS_VIOLATION".

    what needs to be done is to reinitialize the cplex engine at each iteration, while in my programme it's only initiated once, outside of the while loop.

     

    thanks,

    parissa

    Updated on 2013-07-16T07:54:51Z at 2013-07-16T07:54:51Z by parisamajlessi