Codes runs fine but stops halfway

Solver related questions
Post Reply
keatzaii
User
User
Posts: 11
Joined: 1 year ago

Codes runs fine but stops halfway

Post by keatzaii » 1 year ago

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 105 times
Jun Keat

Fred
Posts: 264
Joined: 5 years ago

Re: Codes runs fine but stops halfway

Post by Fred » 1 year ago

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: 1 year ago

Re: Codes runs fine but stops halfway

Post by keatzaii » 1 year ago

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: 264
Joined: 5 years ago

Re: Codes runs fine but stops halfway

Post by Fred » 1 year ago

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: 1 year ago

Re: Codes runs fine but stops halfway

Post by keatzaii » 1 year ago

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

Jun Keat
Attachments
image.png

Fred
Posts: 264
Joined: 5 years ago

Re: Codes runs fine but stops halfway

Post by Fred » 1 year ago

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: 1 year ago

Re: Codes runs fine but stops halfway

Post by keatzaii » 1 year ago

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

Post Reply