ILOG
Welcome, Guest | Sign In


Blogs | Forums | Worldwide sites | Contact us

title element1
Technical Issues
Performance Tuning
Helpful Articles
ILOG R&D
Recommended Reading
Teaching Optimization
Teaching Overview
Academic Sales
Student Downloads
Related Links
Edelman Award Finalists
INFORMS Science of Better
Rethinking Mixed Integer Model Formulations - Part 1  

Part1: Fixed charges

A careful formulation for a mixed integer program (MIP) can lead to a solution of the model in a reasonable amount of time, while a not-so-careful formulation can make the model practically unsolvable.

The over-riding principle of a careful formulation is to make the feasible region described by the linear programming relaxation as close as possible to the feasible region that contains only feasible integer solutions. A more tightly constrained model is often better than a less tightly constrained model, even if the linear program (LP) sub-problems are more difficult.

To model a fixed charge—a cost that is incurred once when a process is used, but is not proportional to the level of the process—a "Big M" formulation is usually used. The level of the process is a continuous variable y and the "on-off" binary variable is x. The objective function coefficient for y is the cost for each additional unit of y and the coefficient for x is the fixed charge. The constraint that describes the relationship between x and y is “y <= Mx.”

For y to be positive, x must be 1. The value of the constant M has to be large enough so that when x is 1, the constraint does not limit y below its true upper bound.

One might typically choose a very large M that wouldn't limit any of the y variables in the problem and use it everywhere an M is needed. This approach has several drawbacks, including:

  • The value of x in the solution to the LP relaxation will be y/M. (Using a minimal amount of x is preferred since the fixed charge will be large relative to the unit cost.) The objective function value then reflects only y/M of the fixed charge. For example, if y is 10 and M is 10000, only 0.001 of the fixed charge is used, which means the relaxation objective value is far from the integer objective value.

  • The branching algorithm will likely try to force x to 0 first, and therefore y to 0, because the value of x is already close to 0. That is the LP solution. The LP solution is that y should be positive.

If M is set to the true upper bound of y (15), then the solution to the LP relaxation will be x = 0.6666, so both the objective function value of the relaxation and the x value reflect more closely what will happen when the integer restriction is enforced through branching. The branching algorithm will have a better idea of how to set x, and the bounding process will have better objective value information.

Using priority orders and preferred branching directions can also speed solution of a fixed charge model. ILOG CPLEX allows a preferred branching direction for each variable as well as a default preferred direction. Set the branching direction to "up" for any of the fixed charge (x) variables. The x variables should be assigned a higher ordering value than other integer variables that use x.

If it is not possible to reduce the value of M, ILOG CPLEX does provide an alternative. Indicator constraints can be used in the matrix interface and logical constraints can be used in the object-oriented interfaces.

Tell Me About Optimization
    How does it work?  
    What can it do?  
    Why is ILOG the leader?  
     
The ILOG Optimization Suite
 
ILOG OPL Development Studio
 
 
ILOG ODM
 
 
ILOG CPLEX
 
 
ILOG CP Optimizer
 
     
ILOG ODMS Demo
This demo will show how ILOG ODMS can help you develop decision support applications that address your company's unique planning and scheduling problems.
 
Watch the demo
 
 
Academic Sales
 
The Right Hand Side
 
Check out ILOG's optimization e-newsletter.
 
     
ILOG OPL-CPLEX-ODM Hands-on Experience Workshop
  18 September 2008
Houston, Texas
 
 
Learn more
 
Report
Are Packaged Planning Solutions Always Appropriate?
By Simon Bragg

ARC Advisory Group

Managers should consider a custom planning and scheduling solution when:

  • Multiple modules are required to create a plan
  • Risk versus reward is an important trade-off
  • Your industry has relatively few participants.

Read it now

Customer Spotlight
   
     
 
 
element3