Recent enhancements in - Gams
Recent enhancements in - Gams
Recent enhancements in - Gams
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
23<br />
Function Libraries<br />
• Allows users to import functions from an external library<br />
<strong>in</strong>to a GAMS model<br />
• Imported functions can be used <strong>in</strong> the same way as<br />
<strong>in</strong>tr<strong>in</strong>sic GAMS functions<br />
• Some function libraries are <strong>in</strong>cluded <strong>in</strong> the GAMS<br />
distribution<br />
• Users can create their own libraries us<strong>in</strong>g an open<br />
programm<strong>in</strong>g <strong>in</strong>terface (simple examples written <strong>in</strong> C,<br />
Delphi and Fortran come with every GAMS system)<br />
• To make a library available call<br />
$FuncLibIn <br />
• Declare functions similar to sets, parameters, ..., :<br />
Function /./;