excel solver
optimization
simulation
slow solution times, linear versus nonlinear

   solver.com

Frontline Systems, Inc.  

quadratic programming, portfolio optimization, quadratic solver 
Developers of Your Spreadsheet's Solver  
robust optimization, stochastic programming, simulation optimization
   
support, help, question

Standard Excel Solver - Improving Slow Solution Times - Linear Versus Nonlinear Models


solver, Excel, nonlinear, recalculation

 
Home
Register
What's New
Solver Tutorial
Solver Technology
Select a Product
Excel Users
Developers
MATLAB Users
Macintosh Users
Government Users
Academic Users
Press/Analysts
Privacy Policy
 

 

 


Linear Versus Nonlinear Models

If you have a linear problem, make sure that you've checked the Assume Linear Model box in the Solver Options dialog. If you haven't checked this box, the Solver assumes that the problem is nonlinear. The Solver is many times faster on linear than on nonlinear problems, and this speed difference rises very rapidly with an increased number of decision variables.

When the problem is linear, the Solver will recalculate the model approximately N times, where N is the number of decision variables (or changing cells). This happens once, during the phase when "Setting Up Problem..." appears on the Excel message bar. When the problem is nonlinear, the Solver must recalculate the model N times on every major iteration, in order to update its estimate of how the objective function and constraints are changing. For this reason, you'll see the Solver spending much more time on each Trial Solution reported on the Excel message bar for a nonlinear problem. Further, on linear problems the Solver is able use faster and more reliable methods to choose the decision variable values for the next trial solution.

We often see Solver models from users who are convinced that their problems are intrinsically nonlinear, yet we find that with a modest effort (sometimes no effort) these models can be set up as linear problems. If solution time is an issue, it is worth your while to consider whether the model really could be formulated as a linear problem. For more information on this topic, consult our Solver Tutorial, or ask for access to our protected Support pages discussing piecewise linear approximations for nonlinear functions.

Next: Eliminating Non-Essential Calculations

Back to Improving Slow Solution Times

Back to Standard Excel Solver Support Information

To Learn More:
For instant access to example models, full-text User Guides, and to download free 15-day trial versions of our software products whenever you're ready, you can register now.
User Type
Email Address
Name First Last
Company University
Phone

Trial version passwords are sent to the above email address: See Privacy Policy.
Our Premium Solver Platform works with existing Excel Solver models, solves much larger problems up to hundreds of times faster, and solves new kinds of problems via Evolutionary Solver.  Solver Engines plug into the Premium Solver Platform.
   
Solver Platform SDK makes it easy to solve any type or size of optimization problem in your Visual Basic, VB.NET, C/C++, C#, Java, or MATLAB program. And it's easy to deploy your application with our flexible licensing for software vendors and corporate developers.
   
spreadsheet solver
scarce resources