Codes runs fine but stops halfway

Solver related questions
Post Reply
keatzaii
User
User
Posts: 11
Joined: 4 years ago

Codes runs fine but stops halfway

Post 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 309 times
Jun Keat
Fred
Posts: 372
Joined: 7 years ago

Re: Codes runs fine but stops halfway

Post 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
keatzaii
User
User
Posts: 11
Joined: 4 years ago

Re: Codes runs fine but stops halfway

Post 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
Fred
Posts: 372
Joined: 7 years ago

Re: Codes runs fine but stops halfway

Post by Fred »

Hi Jun Keat,

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

Fred
keatzaii
User
User
Posts: 11
Joined: 4 years ago

Re: Codes runs fine but stops halfway

Post 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 4673 times
image.png
Is there some problem with my laptop or my software?

Jun Keat
Attachments
image.png
Fred
Posts: 372
Joined: 7 years ago

Re: Codes runs fine but stops halfway

Post 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
keatzaii
User
User
Posts: 11
Joined: 4 years ago

Re: Codes runs fine but stops halfway

Post by keatzaii »

Yes, as the program stops halfway where my last screenshot shows so I cannot get the logfile.
Post Reply