Declarative Differential Models (DDM)

Declarative Differential Models (DDM) refer to a modeling approach where the entire system's behavior—states, transitions, constraints, and objectives—is described declaratively and encoded directly within a set of differential equations or differential-algebraic equations (DAEs).

Key Features of DDM:

  1. Declarative Nature:

    • The system is described by its rules and relationships, not step-by-step instructions.
    • These rules are translated into continuous or discrete dynamics that govern the system's evolution.
  2. Constraint Embedding:

    • Logical and physical constraints (e.g., conservation laws, capacity limits) are directly included in the model equations.
    • This ensures the system operates within valid bounds without requiring external enforcement.
  3. Dynamic and Adaptive Behavior:

    • DDMs can handle both deterministic and probabilistic transitions, making them suitable for hybrid systems (e.g., mixing continuous flows and discrete events).
  4. Optimization-Friendly:

    • DDMs naturally integrate with optimization techniques, allowing parameters (e.g., transition rates) to be learned or fine-tuned directly within the model.

Examples and Applications:

Why Declarative?

The term “declarative” emphasizes that the model focuses on what the system does (rules and behaviors) rather than how it does it (procedural steps).

Use Case Example:

In a knapsack optimization problem:

See the python notebook