LINGO - Built-in Functions

Mathematical Functions

  • Absolute value
  • Powers of e
  • Natural logarithms
  • Log-GammaLog-Gamma
  • Check numeric sign
  • Modulo
  • Sine
  • Cosine
  • Tangent
  • Power
  • Square
  • Square root
  • Maximum
  • Minimum
Financial Functions
  • Present value
  • Present value of an annuity
Integer/Domain Functions
  • Restrict variables to be General Integer
  • Restrict variables to be Binary Integer
  • Set upper and lower bounds on variables
  • Remove upper and lower limits on variable

Data Import/Export Functions

  • Read data from text files and popular database and spreadsheet applications
SET Functions
  • Generate set of constraints
  • Summation
  • Return the number of elements
  • Return minimum or maximum element
  • Test for set membership
Probability Functions
  • Cumulative Distribution
  • Cumulative F Distribution
  • Cumulative t
  • Cumulative Hypergeometric
  • Cumulative Binomial
  • Cumulative Chi-squared
  • Cumulative Poisson Distribution
  • Cumulative Normal
  • Unit normal linear loss
  • Linear loss for Poisson
  • Erlang loss, Erlang busy
  • Finite Source Poisson
  • Random and Quasi-random Number Generators
Interface Functions
  • Include data from external text files
  • Open ODBC links between LINGO and databases
  • Move data and solutions back and forth from Excel using OLE based transfers
  • Transfer data directly through shared memory locations with the Dynamic Link Library (DLL)
Report Functions
  • Dual value
  • Format
  • Return total number of iterations required to solve the model
  • Allowable decrease on a specific variable's objective coefficient or on a specified row's right-hand side
  • Status of the solution process
  • Write solution and sensitivity information to text, database and spreadsheet files
Miscellaneous Functions
  • IF
  • Warn

Back to LINGO page

Copyright of Timberlake Consultants Limited
Last Revised:1/30/2008