User Tools

Site Tools


solver:intercepting_a_solver_call

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
solver:intercepting_a_solver_call [2008/06/18 15:13]
support
solver:intercepting_a_solver_call [2017/09/02 18:07] (current)
support
Line 4: Line 4:
 There is an exception to this: the GAMS/Cplex ''​interactive''​ option which allows to interrupt the B&C process, to reset some options and to abort or continue the algorithms. However you **can not** look at the solution. Please also note that the '​interactive'​ option **can not** be used within the IDE since to input stream is attached to the process window. If you want this, you need to run it from the command line.  There is an exception to this: the GAMS/Cplex ''​interactive''​ option which allows to interrupt the B&C process, to reset some options and to abort or continue the algorithms. However you **can not** look at the solution. Please also note that the '​interactive'​ option **can not** be used within the IDE since to input stream is attached to the process window. If you want this, you need to run it from the command line. 
  
-There is another exception namely the BCH Facility (http://​www.gams.com/​docs/​bch.htm). This intercepts the B&C algorithm at certain points and allows to feed cuts and feasible solutions found by an outside process to the B&C algorithm. This BCH Facility can also be used to save all integer solutions found during the solution process in GDX files. These files can be looked at (using the GAMS IDE) while the algorithm is still running and later be read into GAMS for further processing. ​+There is another exception namely the BCH Facility (https://​www.gams.com/latest/docs/UG_SolverUsage.html#​ADVANCED_USAGE_BCHFacility). This intercepts the B&C algorithm at certain points and allows to feed cuts and feasible solutions found by an outside process to the B&C algorithm. This BCH Facility can also be used to save all integer solutions found during the solution process in GDX files. These files can be looked at (using the GAMS IDE) while the algorithm is still running and later be read into GAMS for further processing. ​
  
 Below is an example that demonstrates the use of BCH for this purpose. You will need a recent GAMS system (22.4 or newer) to run this model. Below is an example that demonstrates the use of BCH for this purpose. You will need a recent GAMS system (22.4 or newer) to run this model.
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY solver/intercepting_a_solver_call.txt ยท Last modified: 2017/09/02 18:07 by support