How to change path solver option during execution

Solver related questions
Post Reply
jshengdb
User
User
Posts: 14
Joined: 5 years ago

How to change path solver option during execution

Post by jshengdb » 1 month ago

Hi all,

I am currently using path solver to solve a MCP and I need to use set the path.opt /proximal_perturbation SomeScalar/. My question is that I am running an interactive algorithm and each time I need to change 'SomeScalar' equal to a number that calculated during execution time. I am wondering how could I do such things to make this happen?

Best

User avatar
dirkse
Moderator
Moderator
Posts: 194
Joined: 6 years ago
Location: Fairfax, VA

Re: How to change path solver option during execution

Post by dirkse » 1 month ago

Hello,

You can write the options file path.opt during GAMS execution via the put facility:

https://www.gams.com/40/docs/UG_Put.html

-Steve

Post Reply