Changing GAMS solver in message-ix Python API #794
-
Hello, I'm using message_ix Python API on windows 10 and trying to change the default GAMS solver when running scenario.solve() or And in both cases, the output in Message_run file shows that LP = CBC is identified, but the GAMS still runs the default solver which is CPLEX Message_run: Is there a way to force the gams_args to overwrite the default gams solver? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @Alaa-Eltablawy, thanks for reaching out with this question! |
Beta Was this translation helpful? Give feedback.
If we inspect the MESSAGE GAMS source, we see these lines:
message_ix/message_ix/model/MESSAGE/auxiliary_settings.gms
Lines 18 to 23 in 0fb01b4
@Alaa-Eltablawy, as @glatterf42 says, you do seem to be providing this option to the Python API in a way that reaches the GAMS in…