Skip to main content
  1. Compendia/
  2. Building the LEGO® Opt App!/

Make on-the-fly model mods

·
Constraints App Logic Model Assembly at Runtime AMPL
Martin Laskowski
Author
Martin Laskowski
Optimization Engineer
LEGO - This article is part of a series.
Part 10: This Article

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.

LEGO - This article is part of a series.
Part 10: This Article