Page 1 of 1

Codes runs fine but stops halfway

Posted: Wed Sep 09, 2020 4:08 am
by keatzaii
Hi,

I'm using epsilon constraint method to solve three objective functions. The code runs fine but it stops randomly halfway through execution. I am wondering where is the problem.
Untitled_7.gms
(9.6 KiB) Downloaded 318 times
Jun Keat

Re: Codes runs fine but stops halfway

Posted: Wed Sep 09, 2020 8:06 am
by Fred
Hi,

What do you mean with
it stops randomly halfway through execution
Can you share the log/lst?
For me it seems to work fine and terminates nicely

Fred

Re: Codes runs fine but stops halfway

Posted: Thu Sep 10, 2020 3:50 am
by keatzaii
Hi Fred,

I'm only can obtain one result in gdx. file. I guess it suppose to have a set of pareto optimal solutions?

Jun Keat

Re: Codes runs fine but stops halfway

Posted: Thu Sep 10, 2020 8:47 am
by Fred
Hi Jun Keat,

There are different gdx file created. soleps.gdx seems to have the information you are looking for.

Fred

Re: Codes runs fine but stops halfway

Posted: Sat Sep 12, 2020 11:25 am
by keatzaii
Hi Fred,

This is the result I obtained. Seems like the code just stop after getting one solution.
image.png
image.png (4.23 KiB) Viewed 4772 times
image.png
Is there some problem with my laptop or my software?

Jun Keat

Re: Codes runs fine but stops halfway

Posted: Mon Sep 14, 2020 9:01 am
by Fred
The screenshot indicates that the job was not yet completed. Otherwise you would see

Code: Select all

*** Status: Normal completion
in the log (or some error message if there are any issues).
Can you please share the full log file?

Best,
Fred

Re: Codes runs fine but stops halfway

Posted: Wed Sep 16, 2020 5:58 pm
by keatzaii
Yes, as the program stops halfway where my last screenshot shows so I cannot get the logfile.