Menu ▾ ▴

Usage

Gabriel Canto

Installation and usage

English | Español | Home

Scope

Simplex Quality Analyzer is a stand-alone AWK program that analyzes completed optimization logs. It does not run SIESTA, perform simplex optimization, or certify convergence to a local or global minimum.

Publication status: Source files, documentation packages and reference examples are being prepared for the first public release. The commands below apply once the complete distribution is available.

Requirements

  • A Linux/Unix environment with awk available.
  • The AWK v2 program (src/analiza_simplex_calidad_v2.awk).
  • A VARS file listing parameter names and lower/upper bounds in the same order as the coordinates recorded in the optimization log.
  • A compatible optimizer log, such as simplex.launch.log, from the same optimization run.

The analyzer does not require SIESTA to be installed or executed during post-processing. It does not require Python.

Command-line example

Run from the root of the unpacked project directory:

mkdir -p results
LC_ALL=C awk \
  -v vars=examples/wse2_reference/VARS \
  -v detalle=results/parameters.tsv \
  -f src/analiza_simplex_calidad_v2.awk \
  examples/wse2_reference/simplex.launch.log \
  > results/macrocycles.tsv

The command produces two tab-separated files:

  • results/macrocycles.tsv: one row per macrocycle, including the objective-function changes and the D and W diagnostic indicators.
  • results/parameters.tsv: per-parameter detail for each macrocycle.

The analyzer prints diagnostic warnings to standard error. NA marks an inapplicable or unavailable quantity (for example, inter-macrocycle displacement in the first macrocycle).

Verify the supplied example

Once the complete project distribution has been downloaded, run from its root directory:

sh tests/verify_reference.sh

This compares the analyzer's outputs against TSV reference files included with the real WSe2 example. The example should not be interpreted as proof of convergence of the physical optimization.

Output terminology

The mathematical documentation calls the within-macrocycle and between-macrocycle changes intra and inter, respectively. To maintain compatibility, the current TSV headings remain mejora_interna and mejora_entre_macros. Do not rename those fields when using the published program.

Input-format limitations

The parser expects the SIESTA optimizer markers Start of an amoeba cycle, Points in simplex and values:, Amoeba cycle finished in, and Fractional dispersion:. For an optimization with N parameters, the recorded initial and final simplex tables should each contain N+1 vertices, with --- separating coordinates from the objective value. Compatibility with other log formats is not guaranteed.

Independence notice

This is independent third-party software. It is not part of the official SIESTA distribution and is not officially developed, approved, endorsed, or maintained by the SIESTA project.


Related

Documentation: English
Documentation: Espanol
Documentation: Examples
Documentation: Guides
Documentation: Home