solver:how_do_i_automatically_re-submit_a_model_which_failed_due_to_a_solver_license_error

This shows you the differences between two versions of the page.

Both sides previous revision Previous revision | Next revision Both sides next revision | ||

solver:how_do_i_automatically_re-submit_a_model_which_failed_due_to_a_solver_license_error [2007/11/06 17:19] Franz Nelissen |
solver:how_do_i_automatically_re-submit_a_model_which_failed_due_to_a_solver_license_error [2008/06/18 14:24] support |
||
---|---|---|---|

Line 1: | Line 1: | ||

====== How do I automatically re-submit a model, which failed due to a solver license error? ====== | ====== How do I automatically re-submit a model, which failed due to a solver license error? ====== | ||

- | Q: //I have a batch job consisting of a large number of gams models to be run, each of these requiring cplex. I am running this on my faculty's it system, where we share a number of licenses. It varies a lot how many is available, but sometimes none are available. This answer is returned to gams, which outputs this and terminates. That is very unfortunate for my application and i would very much prefer if it waited until a license became available. So my question is, can some flag be set for either cplex or gams, telling gams to keep trying to find a license?// | + | Q: //I have a batch job consisting of a large number of gams models to be run, each of these requiring cplex. I am running this on my faculty's it system, where we share a number of licenses. It varies a lot how many is available, but sometimes none are available. This answer is returned to gams, which outputs this and terminates. That is very unfortunate for my application and I would very much prefer if it waits until a license becomes available. So my question is, can some flag be set for either cplex or gams, telling gams to keep trying to find a license?// |

You can program this into your GAMS program. The GAMS/CPLEX-link returns with a license error in the solver status. If this happens, you could put your model to sleep for x seconds and try again: | You can program this into your GAMS program. The GAMS/CPLEX-link returns with a license error in the solver status. If this happens, you could put your model to sleep for x seconds and try again: |

IMPRESSUM / LEGAL NOTICE
PRIVACY POLICY
solver/how_do_i_automatically_re-submit_a_model_which_failed_due_to_a_solver_license_error.txt ยท Last modified: 2020/05/19 12:22 by Lutz Westermann