Optimize

See also: Analysis View, Transformation Analysis, Introduction to Optimization, Specifying Capacity Data

This variable is used to control whether a module's calculations for a given scenario are carried out using LEAP's optimization or simulation methodologies.  

You can control which scenarios use optimization by simply editing the Optimize variable in LEAP in any given scenario.  When this variable is set to Yes, the default optimization framework and solver will be used (currently OSeMOSYS with the free GLPK solver).  When set to No, LEAP will use its accounting and simulation calculations.  For finer grade control, you can even make use of different frameworks and solvers to calculate different scenarios.  This can be useful for checking that different frameworks and solvers yield the same results.  In some rare cases they may yield slightly different results (most often due to optimizations of the solver code designed to speed up calculations).  The allowable keywords used for the Optimize variable are currently as follows:

Note that the commercial solvers CPLEX, and GUROBI must be purchased and installed separately from LEAP and NEMO. MOSEK is installed with NEMO but you must have a properly purchased and installed license file for MOSEK in order for it to calculate. Use the orange  Exp button () in the data entry table to quickly choose a framework and solver from among those installed (as shown on right).  

Note that you cannot conduct optimization calculations for Current Accounts and so this variable is only available in scenarios (not in Current Accounts).