Skip to main content
  1. Compendia/

LEGO® Opt App: Make on-the-fly model mods

· ·
Constraints App Logic Model Assembly at Runtime AMPL
Martin Laskowski
Author
Martin Laskowski
Optimization Engineer
Building the LEGO® Opt App - This article is part of a series.

We add functionality to our script that drops unneeded constraints per user-specified options, effectively changing the form of our optimization model on-the-fly. We also discuss extreme approaches to such run-time model construction, in light of the modular nature of optimization model components.

Building the LEGO® Opt App - This article is part of a series.