trust_region¶
pymor-demo trust_region OUTPUT-NUMBER GRID-INTERVALS TRAINING-SAMPLES
Error aware trust-region method for PDE-constrained parameter optimization problems.
This demo compares three different approaches for solving PDE-constrained parameter optimization problems with linear and quadratic output functionals. As optimization method we compare:
The reference method: Projected BFGS, only based on the FOM.
The classical RB method: First standard Greedy for building a ROM, then projected BFGS with ROM.
The error aware trust-region method proposed in [KMO+21].
The methods are compared in terms of computational time, iterations, optimization error, and FOM/ROM evaluations.
Parameters:
OUTPUT-NUMBER, --output-numberSelects type of output functional, where 0 stands for linear and 1 for a quadratic output. [Required, Choices:
0,1]GRID-INTERVALS, --grid-intervalsGrid interval count. [Required]
TRAINING-SAMPLES, --training-samplesNumber of samples used for training the reduced basis. [Required]