An adaptive stepsize approach to solve numerically ODE with stiffness using complementarity conditions
Imported on
The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.
Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.
Problem statement
Let us considered the following system of ODEs \begin{align*} \dfrac{dX}{dt} = f(X), \tag{1.1} \end{align*} where the unknown and it is stiff. However, for simplicity, I would like to suppose that is a scalar function, i.e, and has the same dimension as . There is quite effective traditional way to solve this equation is the "Implicit Euler method", which solves the equation with the following scheme \begin{align*} &\dfrac{X^{n+1}-X^n}{\Delta t} = f\left(X^{n+1}\right)\ \Leftrightarrow & X^{n+1} - X^n - \Delta t f(X^{n+1}) = 0 \end{align*} This method sets us free from any stability condition, which enables us to examine larger time steps in order to save computational costs. However, the finding of the result of the algebraic system in becomes harder when the large time steps are considered. The complexity is that we do not know whether or not a solution exists at all. However, the finding of the result of the algebraic system in becomes harder when the large time steps are considered. The complexity is that we do not know whether or not a solution exists at all. In the situation of existence, the Newton method is the most popular method for solving the discretized system, however, it may not converge or converge extremely slowly. In contrast, when there is no solution, we have to restart the current iteration by dividing the time step by two, for example. For ensuring the convergence of the Newton method, we need to choose a good time step, but this work is not easy. Therefore, I would like to propose another scheme based on the complementarity condition as follows \begin{align*} X^{n+1} - X^n - (1-v)\Delta t f(X^{n+1}) & = 0 \tag{1.2a}\ 1 - (1-v)\Delta t f'(X^{n+1}) -\varepsilon - w &= 0 \in \mathbb{R} \tag{1.2b} \ \min(v,w) &= 0 \in \mathbb{R} \tag{1.2c} \end{align*} where and are two new unknowns to be sought for simultaneously to . The variables and are introduced to rewrite the system in an equivalent way that allows us to work with a possibly smaller time-step instead of . The reason why we wish to reduce the time-step in this fashion is to guarantee that the actual time-step is the largest possible one for which the Jacobian matrix of the system remains invertible. To understand the last point, let us imagine that is fixed but is very small, or that is fixed but is very close to 1. Then, the derivative of (1.2a) with respect to X, which is the left-hand side of (1.2b), equal to , is very close to 1. When moves away from 0, its value may vanish and become negative. We want to stop just before its value becomes 0, to avoid crossing the frontier where the system (1.4a) is singular. The idea of the complementarity condition (1.2c) is that we have basically two cases:
-
If and , then there is no need to reduce the time-step since the derivative of (1.2a) is already invertible.
-
If and , then it is necessary to reduce the time-step and the new system has reached the limit zone. Here, maybe a small safety coefficient could be useful and we’ll probably have to work with for (1.2c).
I have tested this scheme with two existing methods are "The Newton min method" and the "Single-stage interior point method". The result seems to be good for the case nonlinear example , where . However, when I use this scheme for the case , it cannot deal with the stiffness as well as I imagine. My code is in
https://drive.google.com/file/d/19N7puarSUVS-KDPJ2k6_3q2485cDK8EZ/view?usp=share_link
and the model I have used in this code is model = 3. I hope that there are some opinions and ideas to improve this scheme a little bit. In addition, there is still no theoretical proof of the efficiency of this scheme for the moment.
Statement and context adapted from MathOverflow · Tung Nguyen
CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history
Sources and original status
- MathOverflow Status in source : unanswered at collection
Last activity on the question :
Coverage, sources and method
This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.
This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.
Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.
Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.
Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.
OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.
Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.
Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.
- Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
- Erdős Problems (teorth) · 622 · Apache-2.0
- Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
- OEIS · 18,857 · CC BY-SA 4.0
- MathOverflow · 19,035 · CC BY-SA (version on each entry)
- Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)