cronos-mcpp 5.0.0__tar.gz → 5.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. cronos_mcpp-5.1.0/.clang-format +13 -0
  2. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/BUILD_CMAKE.md +6 -5
  3. cronos_mcpp-5.1.0/CHANGES.md +123 -0
  4. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/CMakeLists.txt +18 -6
  5. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/INSTALL.md +9 -7
  6. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/PKG-INFO +21 -8
  7. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/README.md +18 -5
  8. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/doc/CRONOS.dox +8 -5
  9. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/doc/CRONOS.txt +7 -2
  10. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/doc/ENVIRONMENT.md +3 -0
  11. cronos_mcpp-5.1.0/notebook/DAESLV_tutorial.ipynb +777 -0
  12. cronos_mcpp-5.1.0/notebook/DAESLV_tutorial.py +332 -0
  13. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/notebook/FFModel_tutorial.ipynb +261 -208
  14. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/notebook/FFModel_tutorial.py +142 -128
  15. cronos_mcpp-5.1.0/notebook/OCFESLV_tutorial.ipynb +702 -0
  16. cronos_mcpp-5.1.0/notebook/OCFESLV_tutorial.py +332 -0
  17. cronos_mcpp-5.1.0/notebook/ODESLV_tutorial.ipynb +1441 -0
  18. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/notebook/ODESLV_tutorial.py +111 -56
  19. cronos_mcpp-5.1.0/notebook/pyproject.toml +17 -0
  20. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/notebook/uv.lock +48 -1
  21. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/pyproject.toml +16 -5
  22. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/base_cvodes.hpp +73 -94
  23. cronos_mcpp-5.1.0/src/base_de.hpp +2227 -0
  24. cronos_mcpp-5.1.0/src/base_idas.hpp +582 -0
  25. cronos_mcpp-5.1.0/src/base_kinsol.hpp +225 -0
  26. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/cronos.mk +3 -3
  27. cronos_mcpp-5.1.0/src/daeslv_base.hpp +188 -0
  28. cronos_mcpp-5.1.0/src/daeslv_idas.hpp +2364 -0
  29. cronos_mcpp-5.0.0/src/ffode.hpp → cronos_mcpp-5.1.0/src/ffde.hpp +202 -114
  30. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/ffmodel.hpp +686 -38
  31. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/ffocfe.hpp +1 -1
  32. cronos_mcpp-5.1.0/src/interface/base_kinsol.cpp +69 -0
  33. cronos_mcpp-5.1.0/src/interface/check_daeslv.py +279 -0
  34. cronos_mcpp-5.1.0/src/interface/check_ffdaeslv.py +254 -0
  35. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/interface/check_ffodeslv.py +19 -14
  36. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/interface/check_ocfeslv.py +163 -0
  37. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/interface/check_odeslv.py +23 -18
  38. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/interface/cronos.cpp +11 -4
  39. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/interface/cronos.mk +1 -1
  40. cronos_mcpp-5.1.0/src/interface/daeslv.cpp +492 -0
  41. cronos_mcpp-5.1.0/src/interface/ffdae.cpp +218 -0
  42. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/interface/ffmodel.cpp +33 -0
  43. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/interface/ffode.cpp +13 -13
  44. cronos_mcpp-5.1.0/src/interface/gen_cvodes_options.hpp +158 -0
  45. cronos_mcpp-5.0.0/src/interface/gen_odeslv_options.hpp → cronos_mcpp-5.1.0/src/interface/gen_daeslv_options.hpp +2 -6
  46. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/interface/gen_environment.py +3 -0
  47. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/interface/gen_ffmodel_options.hpp +20 -10
  48. cronos_mcpp-5.1.0/src/interface/gen_idas_options.hpp +246 -0
  49. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/interface/gen_ocfeslv_options.hpp +27 -3
  50. cronos_mcpp-5.1.0/src/interface/gen_odeslv_options.hpp +63 -0
  51. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/interface/gen_options.py +3 -1
  52. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/interface/ocfeslv.cpp +139 -4
  53. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/interface/odeslv.cpp +3 -3
  54. {cronos_mcpp-5.0.0/notebook → cronos_mcpp-5.1.0/src/interface}/pyproject.toml +3 -3
  55. cronos_mcpp-5.1.0/src/interface/uv.lock +1559 -0
  56. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/makefile +1 -1
  57. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/makeoptions.mk +3 -3
  58. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/ocfeslv.hpp +349 -35
  59. cronos_mcpp-5.1.0/src/odeslv_base.hpp +1759 -0
  60. cronos_mcpp-5.0.0/src/odeslvs_cvodes.hpp → cronos_mcpp-5.1.0/src/odeslv_cvodes.hpp +1137 -332
  61. cronos_mcpp-5.0.0/notebook/OCFESLV_tutorial.ipynb +0 -826
  62. cronos_mcpp-5.0.0/notebook/OCFESLV_tutorial.py +0 -375
  63. cronos_mcpp-5.0.0/notebook/ODESLV_tutorial.ipynb +0 -2164
  64. cronos_mcpp-5.0.0/src/interface/gen_cvodes_options.hpp +0 -130
  65. cronos_mcpp-5.0.0/src/odeslv_base.hpp +0 -1669
  66. cronos_mcpp-5.0.0/src/odeslv_cvodes.hpp +0 -1026
  67. cronos_mcpp-5.0.0/src/odeslvs_base.hpp +0 -894
  68. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/.gitignore +0 -0
  69. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/LICENSE +0 -0
  70. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/LICENSES/GPL-2.0-or-later.txt +0 -0
  71. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/THIRD_PARTY_NOTICES.txt +0 -0
  72. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/notebook/README.md +0 -0
  73. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/base_sundials.hpp +0 -0
  74. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/interface/check_ffmodel.py +0 -0
  75. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/interface/check_ffocfe.py +0 -0
  76. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/interface/ffdom.cpp +0 -0
  77. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/interface/ffocfe.cpp +0 -0
  78. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/src/ocplan.hpp +0 -0
  79. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/tools/ci/check_notices.py +0 -0
  80. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/tools/update_licence_header.py +0 -0
  81. {cronos_mcpp-5.0.0 → cronos_mcpp-5.1.0}/tools/wheel_variant.py +0 -0
@@ -0,0 +1,13 @@
1
+ # CRONOS project C/C++ style.
2
+ ---
3
+ Language: Cpp
4
+ BasedOnStyle: Google
5
+ ColumnLimit: 80
6
+ BreakBeforeBraces: Allman
7
+ AlwaysBreakAfterReturnType: AllDefinitions
8
+ # "if (x)" not "if(x)"; function calls keep no space: "foo(x)".
9
+ SpaceBeforeParens: ControlStatements
10
+ PointerAlignment: Left
11
+ ReferenceAlignment: Left
12
+ DerivePointerAlignment: false
13
+ AlignConsecutiveAssignments: Consecutive
@@ -8,11 +8,12 @@ carrying the include paths, compile definitions and link libraries; the `cronos`
8
8
 
9
9
  ```
10
10
  <cronosroot>/CMakeLists.txt
11
- <cronosroot>/src/*.hpp the 11 CRONOS headers
12
- <cronosroot>/src/interface/*.cpp the 7 binders (ffdom ffmodel odeslv ffode ocfeslv ffocfe cronos)
13
- <cronosroot>/src/interface/gen_*_options.hpp the 4 generated option headers the binders include
11
+ <cronosroot>/src/*.hpp the CRONOS headers
12
+ <cronosroot>/src/interface/*.cpp the 10 binders (ffdom ffmodel odeslv daeslv base_kinsol ffode ffdae ocfeslv ffocfe cronos)
13
+ <cronosroot>/src/interface/gen_*_options.hpp the 6 generated option headers the binders include
14
14
  <cronosroot>/extern/pybind11 optional vendored pybind11 (else an installed package is used)
15
- <cronosroot>/test/ODESLVS/*.cpp ODESLV drivers
15
+ <cronosroot>/test/ODESLV/*.cpp ODESLV drivers
16
+ <cronosroot>/test/DAESLV/*.cpp DAESLV drivers
16
17
  <cronosroot>/test/OCFESLV/*.cpp OCFESLV drivers (+ helpers such as test_deriv_utils.hpp)
17
18
  <cronosroot>/notebook/ optional: tutorials, installed as-is
18
19
  ```
@@ -45,7 +46,7 @@ cmake --install build --prefix <prefix>
45
46
  | `CRONOS_ARMA_WRAPPER` | OFF | link Armadillo's runtime wrapper library instead of using Armadillo header-only with BLAS/LAPACK (and SuperLU) linked directly; the wrapper also pulls in whatever Armadillo was built with, e.g. ARPACK and MPI |
46
47
  | `ENABLE_PYTHON` | ON | the `cronos` module |
47
48
  | `CRONOS_STUBS` | ON | generate and install `cronos.pyi` (needs `pybind11-stubgen` and `pymcpp` importable; `PYMCPP_DIR` points at the directory holding `pymcpp` if it is not on the Python path) |
48
- | `ENABLE_EXAMPLES` | OFF | build every driver in `test/ODESLVS` and `test/OCFESLV`, register each with CTest (labels `ODESLVS`, `OCFESLV`) |
49
+ | `ENABLE_EXAMPLES` | OFF | build every driver in `test/ODESLV`, `test/DAESLV` and `test/OCFESLV`, register each with CTest (labels `ODESLV`, `DAESLV`, `OCFESLV`) |
49
50
  | `CRONOS_CXX_STANDARD` | 17 | as the Make setup; 20 accepted |
50
51
  | `CUSTOM_PYTHON_PATH` | | Python executable or virtual-environment root, as MC++ |
51
52
 
@@ -0,0 +1,123 @@
1
+ # Changes
2
+
3
+ ## 5.1.0 (2026-10-27)
4
+
5
+ The headline is a second integrator. **DAESLV** integrates the model's undivided form with SUNDIALS IDAS,
6
+ beside ODESLV on CVODES, with the same interface, the same sensitivities, and a shared base. Around it: the
7
+ consistent-initialisation solve both integrators now take, index reduction by dummy derivatives as an
8
+ alternative to substitution, and a setup and solve path that scale to meshes of thousands of states.
9
+
10
+ ### DAESLV: DAE integration on IDAS
11
+
12
+ * **`DAESLV_IDAS`** (`daeslv_idas.hpp`, with `daeslv_base.hpp` and `base_idas.hpp`): the model's UNDIVIDED form
13
+ -- a mass matrix and a residual, so an implicit or singular mass matrix needs no division -- with the stage
14
+ structure, transitions and recording of ODESLV, and dense or sparse (KLU) linear algebra.
15
+ * **Consistent initialisation** by a shared KINSOL corrector (`base_kinsol.hpp`): one parameterised system per
16
+ role (initial point, stage restart, stop), with the high-index hidden constraints materialised as rows at
17
+ the initial point (`REDUCE.HIDDEN_IC`, default on), so a model declares only its FREE initial data. Both
18
+ integrators take it; the explicit bypass sits behind `INITIAL.BYPASS_EXPLICIT`.
19
+ * **Forward sensitivities** through IDAS, seeded from the solved consistent-initialisation system, including
20
+ across stops and transitions; quadrature and output sensitivities.
21
+ * **Adjoint sensitivities** (`solve_asens`): the terminal condition posed on the differential block and the
22
+ seed -- at the final time and at every jump -- solved as one linear extended system by structure, with no
23
+ `IDACalcICB` Newton iteration; the backward problems of SEVERAL outputs registered together and advanced in
24
+ ONE sweep. The backward residual carries the `(dF_y'/dt)^T lambda` term, so a state-dependent mass matrix
25
+ is handled; a point output on an algebraic state is seeded by projection through the residual at the final
26
+ time (Cao, Li & Petzold), with its direct term in the gradient. `DAESLV_asensmulti` gates the adjoint
27
+ against the forward on several outputs.
28
+ * **Transitions** as rows of the stop system; **outputs** with integral captures as quadratures and point
29
+ captures as function terms; **recording** opt-in, per block, sub-sampled on the adjoint sweep, with
30
+ `RESRECORD` meaning the same count in both solvers.
31
+ * **`SOLVE.VERBOSE`** honoured, a stage summary at every boundary; **`SOLVE.LINSOL`** DENSE or SPARSE.
32
+ * **Embedding**: `FFDAESLV` (`ffde.hpp`, formerly `ffode.hpp`, which now defines both operations as one
33
+ template instantiated per solver) -- the DAE solver as an external operation of an MC++ DAG, composable,
34
+ differentiable forward and reverse, and evaluable in parallel (`DAESLV_threads` gates the identical-variable
35
+ sweep with two workers). Requires MC++ with the `FFSubgraph::save_val()` slot guard.
36
+ * **Python**: `cronos.DAESLV_IDAS`, `cronos.FFDAESLV`, the KINSOL knobs, `check_daeslv.py` and
37
+ `check_ffdaeslv.py`; the **`DAESLV_tutorial`** notebook and script -- a vented batch reactor, index 2, with a
38
+ closed form to check against.
39
+ * **Tests**: 26 drivers in `test/DAESLV`, from the first integration to the adjoint on several outputs,
40
+ threads, scaling to 9,600 states, and the two reductions side by side (`DAESLV_reduction`).
41
+
42
+ ### Index reduction
43
+
44
+ * **Dummy derivatives** (`REDUCE.DUMMY_DERIV`, default off): a high-index block reduced by the method of
45
+ Mattsson and Soderlind rather than by substitution -- every hidden level formed first, then as many
46
+ derivatives chosen to be dummies as there are levels, under the nonsingularity test on their coefficient
47
+ matrix at the reference values, preferring a state no output reads. The constraint stays a row and holds
48
+ to solver tolerance: 3e-13 on the index-3 pendulum against substitution's 2e-9. Index 2 and 3; forward
49
+ solves, forward and adjoint sensitivities, and transitions (the algebraic states re-solve at the stop) on
50
+ both. The static pivot is diagnosed: a solve
51
+ stops where it degenerates, naming the time, the values and the remedies, rather than continuing to a
52
+ wrong answer (`DAESLV_dummy`, `DAESLV_drift`).
53
+ * Substitution remains the default. On a LINEAR constraint it holds the constraint to round-off (BDF
54
+ conserves a linear invariant); dummy derivatives hold it to Newton's tolerance. The drift substitution
55
+ shows on NONLINEAR constraints is proportional to the integration tolerance.
56
+
57
+ ### ODESLV and the shared base
58
+
59
+ * **`BASE_DE`** (formerly `BASE_DYNAMIC`; `FFBaseDE` formerly `FFBaseODESLV`): the stage machinery, results
60
+ and recording, `fdiff`, `var_parameter`, the controls hook and the consistent-initialisation plumbing hoisted
61
+ from ODESLV so both integrators share one body.
62
+ * **ODESLVS merged into ODESLV**: `odeslvs_base.hpp` and `odeslvs_cvodes.hpp` are gone; `ODESLV_CVODES` carries
63
+ the sensitivities. Options restructured into `SOLVE` / `OUTPUT`, mirroring OCFESLV and DAESLV.
64
+ * Fixes: the IC solve read its parameters one slot late; the forward sensitivity IC now comes from the solved
65
+ system, not the divided form; the IC seed was the origin, not the declared reference; the base `record()`
66
+ body and `using FFModel::fdiff` lost in the merge restored.
67
+
68
+ ### Performance
69
+
70
+ * Requires MC++ 5.1 (`pymcpp~=5.1.0`): its `FFSubgraph` slot guard, without which the embedded solvers segfault
71
+ when the model's own variables are the operation's inputs, and its cone-restricted `SFAD`/`SBAD`, which made
72
+ CRONOS's own row-by-row differentiation (`_sfad_by_row`) redundant -- retired, the seven call sites going to
73
+ `SFAD` directly, with the setup times equal within noise.
74
+
75
+ Setup and solve were measured on a reaction-diffusion model by the method of lines, from 118 to 9,598 states
76
+ (`DAESLV_scaling`), and every O(n^2) step found was removed:
77
+
78
+ * **Setup**: extraction was n_eqn x n_x symbolic differentiations, now one subgraph walk per row; a time-only
79
+ block's classification skips the principal symbol; every setup-time Jacobian -- the IC systems, dF/dy, the
80
+ stop system's sensitivity seeds -- is built row by row (`_sfad_by_row`), and dF/dy' is assembled from the
81
+ mass coefficients. Setup at 2,400 states: 11 s to 1.3 s.
82
+ * **Solve**: `explicit_initial_conditions()` ran two dense n x n Jacobians at EVERY solve, and ODESLV's
83
+ Jacobian setup one O(n^2) SFAD; both are structural and cached now. IDAS's residual callback evaluated the
84
+ residual AND every Jacobian entry; it evaluates the residual. ODE at 9,600 states, sparse: 9.4 s to
85
+ 0.59 s.
86
+ * The DAE's remaining cost against the ODE is the index-1 formulation's own: more rows, more steps, more
87
+ Newton work per step, in IDAS proper.
88
+
89
+ ### FFModel and OCFESLV
90
+
91
+ * `add_equation` takes an `EqnRole` directly (C++ and Python); the classification provisions inputs and
92
+ samples them with the states; one `[classify]` line per block at `DISPLAY_LEVEL >= 1`.
93
+ * **`CRONOS_DISPLAY_LEVEL`** is a DEFAULT, not a floor: it applies where a driver has not set `DISPLAY_LEVEL`,
94
+ and a value the driver sets, `0` included, stands.
95
+ * Interface plan: a per-node receiver rule inferred by FFInv with `EqnOptions::defines` as fallback;
96
+ `INTERFACE.DROP_POLICY` defaults to `DROP_OFF`. Classification keeps the last provider of a derivative in
97
+ the symbol; an unevaluable principal symbol is contained and the homotopy ramp saves the trace block; the
98
+ W-test's verdict is independent of the audit and of stale caches. Moving-mesh driver defaults revised.
99
+ * Python: `add_homotopy`, `reset_homotopy`, `set_homotopy_cap`, `continuation_report`; `eval_solution` takes a
100
+ side; `setup_status_str`.
101
+
102
+ ### Build and packaging
103
+
104
+ * Version 5.1.0; `pyproject.toml` fixes for the Windows wheel; the macOS wheel import fixed and the
105
+ sensitivity vector arrays freed.
106
+ * `cmake --build --target check` runs the Python check scripts, `gen_options.py --check`,
107
+ `gen_environment.py --check` and Doxygen with no warning allowed; the option headers are generated from
108
+ the C++ structs and the environment-variable table from a registry.
109
+ * `.clang-format` identical to MC++; the DAESLV stack documented in `BUILD_CMAKE.md` and the headers.
110
+
111
+ ### Known gaps
112
+
113
+ * The dummy pivot is static. A trajectory through its singularity -- a rotating system, the pendulum's full
114
+ swing -- stops with a diagnostic naming the time, the values and the remedies; re-selection per stage is
115
+ the designed next step.
116
+ * Dummy derivatives decline, loudly and falling back to substitution, for a dummy that would be the block's
117
+ only differential state, and for a level holding the derivative of a state with no `d/dt` row that is
118
+ differentiated again (several dummies per level).
119
+
120
+ ## 5.0.0 (2026-10-09)
121
+
122
+ `FFModel`, `ODESLV` on CVODES, `OCFESLV` with the interface-plan refactor, the DAG embeddings `FFODESLV`,
123
+ `FFOCFESLV` and `FFOCFERES`, and the `cronos` Python module on PyMC++.
@@ -42,7 +42,7 @@ set(CMAKE_CXX_FLAGS_RELEASE
42
42
 
43
43
  # Options
44
44
  option(ENABLE_HSL "Enable HSL libraries" OFF)
45
- option(ENABLE_EXAMPLES "Build the test drivers in test/ODESLVS and test/OCFESLV" OFF)
45
+ option(ENABLE_EXAMPLES "Build the test drivers in test/ODESLV, test/DAESLV and test/OCFESLV" OFF)
46
46
  option(ENABLE_PYTHON "Build the cronos Python extension module" ON)
47
47
  option(MC__USE_FADBAD "Use the FADBAD++ forward-AD implementation" OFF)
48
48
 
@@ -381,6 +381,8 @@ set(SUNDIALS_ROOT
381
381
  file(GLOB _sundials_opt LIST_DIRECTORIES true "/opt/sundials*" "/usr/local/sundials*")
382
382
  set(_cronos_sundials_components
383
383
  cvodes
384
+ idas
385
+ kinsol
384
386
  nvecserial
385
387
  sunmatrixdense
386
388
  sunlinsoldense
@@ -633,9 +635,12 @@ endif()
633
635
  if(ENABLE_PYTHON)
634
636
  set(CRONOS_PY_SOURCES
635
637
  src/interface/ffdom.cpp
638
+ src/interface/base_kinsol.cpp
636
639
  src/interface/ffmodel.cpp
637
640
  src/interface/odeslv.cpp
638
641
  src/interface/ffode.cpp
642
+ src/interface/daeslv.cpp
643
+ src/interface/ffdae.cpp
639
644
  src/interface/ocfeslv.cpp
640
645
  src/interface/ffocfe.cpp
641
646
  src/interface/cronos.cpp)
@@ -762,6 +767,8 @@ if(ENABLE_PYTHON)
762
767
  check_odeslv.py
763
768
  check_ffodeslv.py
764
769
  check_ocfeslv.py
770
+ check_daeslv.py
771
+ check_ffdaeslv.py
765
772
  check_ffocfe.py)
766
773
  set(_check_cmds "")
767
774
  set(_check_missing "")
@@ -891,16 +898,19 @@ message(STATUS "--------------------------------------------------------")
891
898
  # Install headers
892
899
  set(CRONOS_HEADERS
893
900
  base_cvodes.hpp
901
+ base_de.hpp
902
+ base_kinsol.hpp
903
+ base_idas.hpp
894
904
  base_sundials.hpp
905
+ daeslv_base.hpp
906
+ daeslv_idas.hpp
895
907
  ffmodel.hpp
896
908
  ffocfe.hpp
897
- ffode.hpp
909
+ ffde.hpp
898
910
  ocfeslv.hpp
899
911
  ocplan.hpp
900
912
  odeslv_base.hpp
901
- odeslv_cvodes.hpp
902
- odeslvs_base.hpp
903
- odeslvs_cvodes.hpp)
913
+ odeslv_cvodes.hpp)
904
914
 
905
915
  set(CRONOS_HEADERS_FULL "")
906
916
  foreach(HEADER ${CRONOS_HEADERS})
@@ -949,7 +959,9 @@ set(CRONOS_SLOW_TEST_TIMEOUT 1800 CACHE STRING "CTest timeout (s) for a 'slow' d
949
959
  if(ENABLE_EXAMPLES)
950
960
  enable_testing()
951
961
  # the ODESLV drivers' directory has been named both ways
952
- foreach(_dir ODESLV ODESLVS OCFESLV)
962
+ # ODESLVS has no directory of its own -- its drivers live in test/ODESLV -- so listing it here only
963
+ # produced an empty glob. DAESLV is registered like the rest.
964
+ foreach(_dir ODESLV OCFESLV DAESLV)
953
965
  if(NOT IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/test/${_dir}")
954
966
  continue()
955
967
  endif()
@@ -10,12 +10,14 @@ of factorable functions provide the model representation and automatic different
10
10
  * **`FFModel`** declares a model on an MC++ DAG: states, inputs and constants, their domains (time and space,
11
11
  discretised by finite elements), the equations with their role (interior, initial, boundary, ...), and the
12
12
  outputs.
13
- * **`ODESLV`** (`odeslvs_cvodes.hpp`) integrates ODE/DAE models with SUNDIALS CVODES, with forward and adjoint
14
- sensitivities.
13
+ * **`ODESLV`** (`odeslv_cvodes.hpp`) integrates ODE models with SUNDIALS CVODES, on the model's divided form,
14
+ with forward and adjoint sensitivities.
15
+ * **`DAESLV`** (`daeslv_idas.hpp`) integrates DAE models with SUNDIALS IDAS, on the undivided form -- a mass
16
+ matrix and a residual -- with consistent initialisation and the same sensitivities and interface as `ODESLV`.
15
17
  * **`OCFESLV`** (`ocfeslv.hpp`) solves PDE/DAE models by orthogonal collocation on finite elements, either as one
16
18
  monolithic system or by marching through the time elements, with forward and adjoint sensitivities and state
17
19
  transitions (jumps); the monolithic time discretisation is causal, so both modes solve the same discretisation.
18
- * **`FFODESLV`, `FFOCFESLV`, `FFOCFERES`** embed a solver -- or the collocation residuals -- in an MC++ DAG as an
20
+ * **`FFODESLV`, `FFDAESLV`, `FFOCFESLV`, `FFOCFERES`** embed a solver -- or the collocation residuals -- in an MC++ DAG as an
19
21
  external operation, so a simulation becomes a DAG function that can be composed, evaluated, sampled in parallel
20
22
  and differentiated.
21
23
 
@@ -34,7 +36,7 @@ A Python module, `cronos`, exposes all of this on top of PyMC++, MC++'s Python l
34
36
  | SuiteSparse | 7.x recommended (older found by library search) | KLU (LGPL-2.1+); UMFPACK and SPQR optional (GPL-2.0-or-later, see below) |
35
37
  | SuperLU | 5.2.x | OCFESLV's default sparse factorisation, through Armadillo |
36
38
  | Eigen | >= 3.3 | optional sparse QR |
37
- | SUNDIALS | **>= 7**, built with KLU (`-DENABLE_KLU=ON`) | CVODES for ODESLV |
39
+ | SUNDIALS | **>= 7**, built with KLU (`-DENABLE_KLU=ON`) | CVODES for ODESLV, IDAS for DAESLV, KINSOL for the consistent-initialisation solve of both |
38
40
  | Python | 3.10+ (development headers) | for the `cronos` module |
39
41
  | pybind11 | **>= 3.0.3, not 3.1.0** (3.0.4 recommended) | Python bindings |
40
42
  | pybind11-stubgen | optional | generates the `cronos.pyi` type stub |
@@ -158,12 +160,12 @@ With UMFPACK (sparse elimination at setup) and SPQR, under GPL-2.0-or-later. It
158
160
  release under the same name, with a build tag; giving pip (or uv) the release page makes it prefer them:
159
161
 
160
162
  ```
161
- pip install cronos-mcpp -f https://github.com/omega-icl/cronos/releases/expanded_assets/v5.0.0
162
- uv pip install cronos-mcpp --find-links https://github.com/omega-icl/cronos/releases/expanded_assets/v5.0.0
163
+ pip install cronos-mcpp -f https://github.com/omega-icl/cronos/releases/expanded_assets/v5.1.0
164
+ uv pip install cronos-mcpp --find-links https://github.com/omega-icl/cronos/releases/expanded_assets/v5.1.0
163
165
  ```
164
166
 
165
167
  The page must be given at EVERY install or upgrade: without it, pip finds only the PyPI wheels and installs the EPL
166
- build. To make that permanent, use one of: a line `-f https://github.com/omega-icl/cronos/releases/expanded_assets/v5.0.0`
168
+ build. To make that permanent, use one of: a line `-f https://github.com/omega-icl/cronos/releases/expanded_assets/v5.1.0`
167
169
  in `requirements.txt`; `find-links` in pip's configuration (`pip config set global.find-links <page>`); or
168
170
  `find-links = ["<page>"]` under `[tool.uv]` in a uv project. A package that depends on `cronos-mcpp` is satisfied by
169
171
  either build, so installing it keeps the GPL build.
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cronos-mcpp
3
- Version: 5.0.0
3
+ Version: 5.1.0
4
4
  Summary: Simulation and sensitivity analysis of ODE, DAE and PDE models on MC++ factorable-function DAGs
5
- Keywords: ODE,DAE,PDE,orthogonal collocation,sensitivity analysis,optimal control,MC++
5
+ Keywords: ODE,DAE,PDE,orthogonal collocation,sensitivity analysis,MC++
6
6
  Author-Email: "Benoit C. Chachuat" <b.chachuat@imperial.ac.uk>
7
7
  License-Expression: EPL-2.0
8
8
  License-File: LICENSE
@@ -16,7 +16,7 @@ Project-URL: Homepage, https://github.com/omega-icl/cronos
16
16
  Project-URL: Source, https://github.com/omega-icl/cronos
17
17
  Project-URL: Issues, https://github.com/omega-icl/cronos/issues
18
18
  Requires-Python: >=3.10
19
- Requires-Dist: pymcpp~=5.0.4
19
+ Requires-Dist: pymcpp~=5.1.0
20
20
  Requires-Dist: numpy>=1.23
21
21
  Description-Content-Type: text/markdown
22
22
 
@@ -39,14 +39,23 @@ for model development and analysis -- can compose, evaluate and differentiate.
39
39
  * **Model declaration** (`FFModel`): states, inputs and constants on an MC++ DAG; one or several domains -- time
40
40
  and space -- each discretised into finite elements with a collocation node family; equations with their role
41
41
  (interior, initial, boundary, interface, link, ...) and the region they hold on; point, distributed and integral
42
- outputs; state transitions (jumps) at given times; automatic index reduction of DAEs and order reduction of PDEs.
43
- * **ODE/DAE integration** (`ODESLV`, header `odeslvs_cvodes.hpp`): with SUNDIALS CVODES, with forward and adjoint
44
- sensitivities of the outputs with respect to the model's parameters and controls.
42
+ outputs; state transitions (jumps) at given times; automatic order reduction of PDEs, and index reduction of
43
+ DAEs -- by substitution (the default) or by the method of dummy derivatives (`REDUCE.DUMMY_DERIV`), which keeps
44
+ every constraint as a row and holds it to solver tolerance.
45
+ * **ODE integration** (`ODESLV`, header `odeslv_cvodes.hpp`): with SUNDIALS CVODES, on the model's DIVIDED
46
+ form, with forward and adjoint sensitivities of the outputs with respect to the model's parameters and
47
+ controls.
48
+ * **DAE integration** (`DAESLV`, header `daeslv_idas.hpp`): with SUNDIALS IDAS, on the UNDIVIDED form --
49
+ a mass matrix and a residual, so an implicit or singular mass matrix needs no division -- with consistent
50
+ initialisation by a shared KINSOL corrector (the high-index hidden constraints included, so a model declares
51
+ only its free initial data), forward sensitivities, adjoint sensitivities of several outputs in one backward
52
+ sweep, dense or sparse (KLU) linear algebra, and the same stage structure, transitions, recording and
53
+ parallel embedding as ODESLV. The two solvers expose the same interface and share their base (`BASE_DE`).
45
54
  * **Orthogonal collocation on finite elements** (`OCFESLV`, header `ocfeslv.hpp`): PDE/DAE models on tensor
46
55
  domains, solved either as one monolithic system or by marching through the time elements -- both solve the
47
56
  same discretisation, since the monolithic time discretisation is causal -- with strong, weak (penalty) or
48
57
  trace imposition of the interface conditions, forward and adjoint sensitivities, and state transitions.
49
- * **Embedding in DAGs** (`FFODESLV`, `FFOCFESLV`, `FFOCFERES`): a solver, or the collocation residuals, as an
58
+ * **Embedding in DAGs** (`FFODESLV`, `FFDAESLV`, `FFOCFESLV`, `FFOCFERES`): a solver, or the collocation residuals, as an
50
59
  external operation of an MC++ DAG: the simulation becomes a function that can be composed with other DAG
51
60
  operations, evaluated and sampled in parallel, and differentiated -- forward and reverse -- through the
52
61
  solver's own sensitivities.
@@ -58,12 +67,15 @@ The tutorials in `notebook/`, each a Jupyter notebook and a Python script:
58
67
  * `FFModel_tutorial` -- analysing a model before solving it: classification of the equations, index and order
59
68
  reduction, initial data for high-index DAEs, and the model report;
60
69
  * `ODESLV_tutorial` -- a serial batch-reactor network: ODE simulation, and forward and adjoint sensitivities;
70
+ * `DAESLV_tutorial` -- a constant-pressure vented batch reactor, an index-2 DAE with a closed form to check
71
+ against: why it is index 2, consistent initialisation, forward and adjoint sensitivities, the solver as a
72
+ DAG operation, and parallel scenario evaluation;
61
73
  * `OCFESLV_tutorial` -- nonlinear heat conduction in a rod with a heater schedule: both solve modes, sensitivities,
62
74
  and the embedding in a DAG.
63
75
 
64
76
  ## Configuration
65
77
 
66
- CRONOS is configured through its options -- `FFModel::Options` for the model, `OCFESLV::Options` and the ODESLV
78
+ CRONOS is configured through its options -- `FFModel::Options` for the model, `OCFESLV::Options` and the ODESLV/DAESLV
67
79
  options for the solvers -- available in Python as `options` on each object, with their documentation. A few
68
80
  `CRONOS_*` environment variables remain: diagnostics that instrument a whole test sweep without editing any driver,
69
81
  a thread cap, and three test switches. None is needed to run a model; they are listed in
@@ -100,6 +112,7 @@ open `doc/html/index.html`.
100
112
  src/ the CRONOS headers (header-only library)
101
113
  src/interface/ the Python binders, the generated option headers, the check scripts
102
114
  test/ODESLV/ ODESLV test drivers
115
+ test/DAESLV/ DAESLV test drivers
103
116
  test/OCFESLV/ OCFESLV test drivers (the corpus the solver is validated against)
104
117
  notebook/ tutorials (Python scripts and Jupyter notebooks)
105
118
  doc/ the Doxygen configuration (CRONOS.dox) and main page (CRONOS.txt); ENVIRONMENT.md
@@ -17,14 +17,23 @@ for model development and analysis -- can compose, evaluate and differentiate.
17
17
  * **Model declaration** (`FFModel`): states, inputs and constants on an MC++ DAG; one or several domains -- time
18
18
  and space -- each discretised into finite elements with a collocation node family; equations with their role
19
19
  (interior, initial, boundary, interface, link, ...) and the region they hold on; point, distributed and integral
20
- outputs; state transitions (jumps) at given times; automatic index reduction of DAEs and order reduction of PDEs.
21
- * **ODE/DAE integration** (`ODESLV`, header `odeslvs_cvodes.hpp`): with SUNDIALS CVODES, with forward and adjoint
22
- sensitivities of the outputs with respect to the model's parameters and controls.
20
+ outputs; state transitions (jumps) at given times; automatic order reduction of PDEs, and index reduction of
21
+ DAEs -- by substitution (the default) or by the method of dummy derivatives (`REDUCE.DUMMY_DERIV`), which keeps
22
+ every constraint as a row and holds it to solver tolerance.
23
+ * **ODE integration** (`ODESLV`, header `odeslv_cvodes.hpp`): with SUNDIALS CVODES, on the model's DIVIDED
24
+ form, with forward and adjoint sensitivities of the outputs with respect to the model's parameters and
25
+ controls.
26
+ * **DAE integration** (`DAESLV`, header `daeslv_idas.hpp`): with SUNDIALS IDAS, on the UNDIVIDED form --
27
+ a mass matrix and a residual, so an implicit or singular mass matrix needs no division -- with consistent
28
+ initialisation by a shared KINSOL corrector (the high-index hidden constraints included, so a model declares
29
+ only its free initial data), forward sensitivities, adjoint sensitivities of several outputs in one backward
30
+ sweep, dense or sparse (KLU) linear algebra, and the same stage structure, transitions, recording and
31
+ parallel embedding as ODESLV. The two solvers expose the same interface and share their base (`BASE_DE`).
23
32
  * **Orthogonal collocation on finite elements** (`OCFESLV`, header `ocfeslv.hpp`): PDE/DAE models on tensor
24
33
  domains, solved either as one monolithic system or by marching through the time elements -- both solve the
25
34
  same discretisation, since the monolithic time discretisation is causal -- with strong, weak (penalty) or
26
35
  trace imposition of the interface conditions, forward and adjoint sensitivities, and state transitions.
27
- * **Embedding in DAGs** (`FFODESLV`, `FFOCFESLV`, `FFOCFERES`): a solver, or the collocation residuals, as an
36
+ * **Embedding in DAGs** (`FFODESLV`, `FFDAESLV`, `FFOCFESLV`, `FFOCFERES`): a solver, or the collocation residuals, as an
28
37
  external operation of an MC++ DAG: the simulation becomes a function that can be composed with other DAG
29
38
  operations, evaluated and sampled in parallel, and differentiated -- forward and reverse -- through the
30
39
  solver's own sensitivities.
@@ -36,12 +45,15 @@ The tutorials in `notebook/`, each a Jupyter notebook and a Python script:
36
45
  * `FFModel_tutorial` -- analysing a model before solving it: classification of the equations, index and order
37
46
  reduction, initial data for high-index DAEs, and the model report;
38
47
  * `ODESLV_tutorial` -- a serial batch-reactor network: ODE simulation, and forward and adjoint sensitivities;
48
+ * `DAESLV_tutorial` -- a constant-pressure vented batch reactor, an index-2 DAE with a closed form to check
49
+ against: why it is index 2, consistent initialisation, forward and adjoint sensitivities, the solver as a
50
+ DAG operation, and parallel scenario evaluation;
39
51
  * `OCFESLV_tutorial` -- nonlinear heat conduction in a rod with a heater schedule: both solve modes, sensitivities,
40
52
  and the embedding in a DAG.
41
53
 
42
54
  ## Configuration
43
55
 
44
- CRONOS is configured through its options -- `FFModel::Options` for the model, `OCFESLV::Options` and the ODESLV
56
+ CRONOS is configured through its options -- `FFModel::Options` for the model, `OCFESLV::Options` and the ODESLV/DAESLV
45
57
  options for the solvers -- available in Python as `options` on each object, with their documentation. A few
46
58
  `CRONOS_*` environment variables remain: diagnostics that instrument a whole test sweep without editing any driver,
47
59
  a thread cap, and three test switches. None is needed to run a model; they are listed in
@@ -78,6 +90,7 @@ open `doc/html/index.html`.
78
90
  src/ the CRONOS headers (header-only library)
79
91
  src/interface/ the Python binders, the generated option headers, the check scripts
80
92
  test/ODESLV/ ODESLV test drivers
93
+ test/DAESLV/ DAESLV test drivers
81
94
  test/OCFESLV/ OCFESLV test drivers (the corpus the solver is validated against)
82
95
  notebook/ tutorials (Python scripts and Jupyter notebooks)
83
96
  doc/ the Doxygen configuration (CRONOS.dox) and main page (CRONOS.txt); ENVIRONMENT.md
@@ -48,7 +48,7 @@ PROJECT_NAME = CRONOS
48
48
  # could be handy for archiving the generated documentation or if some version
49
49
  # control system is used.
50
50
 
51
- PROJECT_NUMBER = 5.0.0
51
+ PROJECT_NUMBER = 5.1.0
52
52
 
53
53
  # Using the PROJECT_BRIEF tag one can provide an optional one line description
54
54
  # for a project that appears at the top of each page and should give viewer a
@@ -939,13 +939,16 @@ INPUT = CRONOS.txt \
939
939
  ../src/ocfeslv.hpp \
940
940
  ../src/ocplan.hpp \
941
941
  ../src/odeslv_base.hpp \
942
- ../src/odeslvs_base.hpp \
943
942
  ../src/odeslv_cvodes.hpp \
944
- ../src/odeslvs_cvodes.hpp \
945
943
  ../src/base_sundials.hpp \
946
944
  ../src/base_cvodes.hpp \
947
- ../src/ffode.hpp \
948
- ../src/ffocfe.hpp
945
+ ../src/ffde.hpp \
946
+ ../src/ffocfe.hpp \
947
+ ../src/base_de.hpp \
948
+ ../src/base_kinsol.hpp \
949
+ ../src/base_idas.hpp \
950
+ ../src/daeslv_base.hpp \
951
+ ../src/daeslv_idas.hpp
949
952
 
950
953
  # This tag can be used to specify the character encoding of the source files
951
954
  # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
@@ -20,9 +20,14 @@ CRONOS extends <A href="https://github.com/omega-icl/mcpp">MC++</A>: models are
20
20
  \section sec_CRONOS_capabilities What does CRONOS do?
21
21
 
22
22
  - <b>Model declaration</b> (mc::FFModel, header <tt>ffmodel.hpp</tt>): states, inputs and constants on an MC++ DAG; one or several domains -- time and space -- each discretised into finite elements with a collocation node family; equations with their role (interior, initial, boundary, interface, link, ...) and the region they hold on; point, distributed and integral outputs; state transitions (jumps) at given times; automatic index reduction of DAEs and order reduction of PDEs.
23
- - <b>ODE/DAE integration</b> (mc::ODESLV_CVODES, mc::ODESLVS_CVODES, headers <tt>odeslv_cvodes.hpp</tt>, <tt>odeslvs_cvodes.hpp</tt>): with SUNDIALS CVODES, with forward and adjoint sensitivities of the outputs with respect to the model's parameters and controls.
23
+ - <b>ODE integration</b> (mc::ODESLV_CVODES, header <tt>odeslv_cvodes.hpp</tt>): with SUNDIALS CVODES, on the
24
+ model's DIVIDED form, with forward and adjoint sensitivities of the outputs w.r.t. the parameters and controls.
25
+ - <b>DAE integration</b> (mc::DAESLV_IDAS, header <tt>daeslv_idas.hpp</tt>): with SUNDIALS IDAS, on the UNDIVIDED
26
+ form -- a mass matrix and a residual, so an implicit or singular mass matrix needs no division -- with
27
+ consistent initialisation including high-index hidden constraints, and the same sensitivities, stage
28
+ structure, transitions and recording as ODESLV. The two solvers expose the same interface.
24
29
  - <b>Orthogonal collocation on finite elements</b> (mc::OCFESLV, header <tt>ocfeslv.hpp</tt>): PDE/DAE models on tensor domains, solved either as one monolithic system or by marching through the time elements -- both solve the same discretisation, since the monolithic time discretisation is causal -- with strong, weak (penalty) or trace imposition of the interface conditions, forward and adjoint sensitivities, and state transitions.
25
- - <b>Embedding in DAGs</b> (mc::FFODESLV, mc::FFOCFESLV, mc::FFOCFERES, headers <tt>ffode.hpp</tt>, <tt>ffocfe.hpp</tt>): a solver, or the collocation residuals, as an external operation of an MC++ DAG: the simulation becomes a function that can be composed with other DAG operations, evaluated and sampled in parallel, and differentiated -- forward and reverse -- through the solver's own sensitivities.
30
+ - <b>Embedding in DAGs</b> (mc::FFODESLV, mc::FFDAESLV, mc::FFOCFESLV, mc::FFOCFERES, headers <tt>ffde.hpp</tt>, <tt>ffocfe.hpp</tt>): a solver, or the collocation residuals, as an external operation of an MC++ DAG: the simulation becomes a function that can be composed with other DAG operations, evaluated and sampled in parallel, and differentiated -- forward and reverse -- through the solver's own sensitivities.
26
31
  - <b>Python</b> (module <tt>cronos</tt>): all of the above from Python, on top of PyMC++ (MC++'s Python library, module <tt>pymcpp</tt>), with NumPy arrays for results and a <tt>.pyi</tt> type stub for editors.
27
32
  .
28
33
 
@@ -45,6 +45,7 @@ Print reports at setup; none changes what is computed. Those marked "default of
45
45
  | `CRONOS_AUDIT_TAG` | A one-line machine-readable `[cov1]` summary per setup, for corpus sweeps. | `ocfeslv.hpp` |
46
46
  | `CRONOS_AUDIT_TAUCOL` | The `[taucol/plan]` report: the plan's tau columns. | `ocfeslv.hpp` |
47
47
  | `CRONOS_DETERMINACY_GAP_MIN` | Determinacy audit: a gap at the rank cut below this triggers a re-evaluation at 1.3x the reference point (default 1e2). | `ocfeslv.hpp` |
48
+ | `CRONOS_DISPLAY_LEVEL` | Default for `DISPLAY_LEVEL`, an integer `0`..`9`: applies wherever a driver has NOT set it -- a value the driver sets, `0` included, stands -- and does nothing when unset (the default is then `0`). Resolved in the solvers' Options constructors and at setup; a floor until 2026-10-25, which raised a driver's explicit `0`. | `ffmodel.hpp` |
48
49
  | `CRONOS_HEADER_FULL` | Print the solver header's revision summary at setup (display level 2). | `ocfeslv.hpp` |
49
50
  | `CRONOS_KEEP_EXPLICIT_AUDIT` | Check that every explicit tau column arrives with its row (the keep-explicit invariant). | `ocfeslv.hpp` |
50
51
  | `CRONOS_KPRIME_STRUCTURAL` | With the numeric determinacy audit on, print the structural determinacy line beside it (a corpus-wide equality check). | `ocfeslv.hpp` |
@@ -98,8 +99,10 @@ Change behaviour; kept ONLY for the corpus drivers that exercise them. A model
98
99
 
99
100
  | variable | what it does | read in |
100
101
  |---|---|---|
102
+ | `CRONOS_DROP_POLICY` | Override of `INTERFACE.DROP_POLICY` for every model: `0`, `1` or `2` for DROP_VERIFY, DROP_REDERIVE or DROP_OFF (the default since 2026-10-14). `0` restores the redundant-continuity drop. Unset leaves each driver's own value. For sweeping the corpus with the redundant-continuity drop disabled without editing drivers (WORKPLAN 4R.28). | `ocfeslv.hpp` |
101
103
  | `CRONOS_FORCE_BAD_KEEP_EXPLICIT` | Fault injector for `OCFE_hybrid_adequacy`: makes the tau elimination stall, which is that driver's PASS condition. | `ocfeslv.hpp` |
102
104
  | `CRONOS_RESCUE_C2` | Receiver policy of the C2/C2b study (default on; 0 forces the original +1 everywhere). Kept for `OCFE_receiver` until the receiver-policy study concludes. | `ocfeslv.hpp` |
105
+ | `CRONOS_SYMROW_B2` | Restores the pre-4R.26 value-slaved row routing, in which rule (b2) exempted a materialised order-reduction auxiliary from the (b1) uniqueness test, so a row could be routed out of the principal symbol even when it was the LAST provider of a derivative. For bisection; `OCFE_intermediate_dae` reproduces the old verdict under it. | `ffmodel.hpp` |
103
106
  | `CRONOS_WEAK_NATURAL_PENALTY` | IC_WEAK receiver policy for continuity claims: 0, 1 or 2 (default). Kept for `OCFE_receiver`, as above. | `ocfeslv.hpp` |
104
107
 
105
108
  ## Read by MC++