source/reservoir_seepage_lp.cpp file

Implementation of ReservoirSeepageLP methods.

Implements the linear programming formulation for seepage systems. Per-stage slope/constant schedules (from plpmanfi.dat Parquet files) are read at construction time and applied directly as LP matrix coefficients during add_to_lp() for each stage. When piecewise-linear segments are present, the LP constraint coefficients are updated dynamically based on the reservoir volume via update_lp().

Namespaces

namespace gtopt