IBM Support

Decomposition example programs that use CPLEX

Question & Answer


Question

I see a column generation example in the distribution. Are there any other samples showing other decomposition algorithms that illustrate successive optimization?

Answer

The cutstock.cpp cutstock.cppcutstock.cpp cutstock.datcutstock.datexample program illustrates column generation applied to the cutting stock problem. For a more generic column generation sample, use this: dwdecomp.cdwdecomp.c

Lagrangian Relaxation is another commonly used decomposition algorithm. This sample lagrange.zip - lagrange.zip shows a Lagrangian relaxation for a location-transportation problem. The original MIP is decomposed into two problems in order to deduce a multiplier for a particular constraint based on Lagrange relaxation. The sample shows multiple optimization through modifications of different models existing in a single environment. The attached file contains two such implementation using OPL Studio and C++ Concert.

Benders' Decomposition, which can be viewed as column generation applied to the dual model, typically is applied to model formulations with large numbers of constraints, perhaps even too many to represent explicitly in the model. The attached sample illustrates Benders' Decomposition on the Asymmetric Travelling Salesman problem.

ilobendersatsp.cppatsp.datatsp.dat

[{"Product":{"code":"SSSA5P","label":"IBM ILOG CPLEX Optimization Studio"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"ILOG Concert Technology","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.6;12.5.1;12.5.0.1;12.5;12.4;12.3;12.2.0.1;12.2","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Product":{"code":"SSSA5P","label":"IBM ILOG CPLEX Optimization Studio"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF017","label":"Mac OS"}],"Version":"12.2","Edition":"All Editions","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Historical Number

cplex/Sample/80

Document Information

Modified date:
16 June 2018

UID

swg21399997