What are the basic functions of GAMSBAS?
How is GAMSBAS used in a GAMS program?
How do I obtain GAMSBAS?
How can I get a copy of the latest writeup?
Basic Functions of GAMSBAS
GAMSBAS saves an advanced basis which a user may later use in subsequent solves by including the basis
Top of Document
How is GAMSBAS used in a GAMS program?
There are three elements to the use of GAMSBAS
- Modification of the GAMS program
- In the GAMS program you must make GAMSBAS the substiute solver by entering a line like
option lp=gamsbas; The rest of the program is like any other GAMS model.
- In the GAMS program you must make GAMSBAS the substiute solver by entering a line like
- Creation of the bas file
- GAMSBAS creates the saved basis on a *.bas file where the * refers to the filename from the GAMS execution instruction. Thus if you are solving a model called trnsport you receive a file called trnsport.bas.
- Usage of the bas file
- The user can use the *.bas file in future solves by inserting the command
$include *.bas (with the appropriate file name)
in a subsequent GAMS program
- The user can use the *.bas file in future solves by inserting the command
How do I obtain GAMSBAS?
GAMSBAS is a standard part of all GAMS releases. If you do not have it you need to update your system
Top of Document
How can I get a copy of the latest writeup?
GAMSBAS is now a standard part of all GAMS releases. The GAMSBAS manual is included in the Solver Manual Book. A writeup is also here. GAMSBAS Documentation