# \#discretization

**URL:** https://discourse.julialang.org/tag/discretization/103.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Bridging MTK and JuMP](https://discourse.julialang.org/t/bridging-mtk-and-jump/136148)

<div class="topic-metadata">

**Author:** [@langestefan](https://discourse.julialang.org/u/langestefan)\
**Replies:** 5\
**Last updated:** [March 12, 2026, 2:19pm UTC](https://discourse.julialang.org/t/bridging-mtk-and-jump/136148 "2026-03-12T14:19:53Z")

</div>

I am doing some basic thermal modelling in MTK, and I want to use the resulting discretized dynamics in a JuMP model. I came up with the following PoC: using Pkg Pkg.activate(".") import ModelingToolkit as MTK using J…

---

## [\[ANN\] SymbolicApproximators.jl: methods for symbolic time series discretization](https://discourse.julialang.org/t/ann-symbolicapproximators-jl-methods-for-symbolic-time-series-discretization/132737)

<div class="topic-metadata">

**Author:** [@myersm0](https://discourse.julialang.org/u/myersm0)\
**Replies:** 4\
**Last updated:** [October 3, 2025, 12:02am UTC](https://discourse.julialang.org/t/ann-symbolicapproximators-jl-methods-for-symbolic-time-series-discretization/132737 "2025-10-03T00:02:22Z")

</div>

Announcing SymbolicApproximators.jl, a Julia package implementing Symbolic Aggregate approXimation (SAX) and related methods for symbolic discretization and dimension reduction. These techniques allow you to take continu…

---

## [How to discretize a PDE with a Moving Boundary? (a.k.a Stefan Problem, a.k.a Variable Boundary)](https://discourse.julialang.org/t/how-to-discretize-a-pde-with-a-moving-boundary-a-k-a-stefan-problem-a-k-a-variable-boundary/123687)

<div class="topic-metadata">

**Author:** [@Jax\_Xu](https://discourse.julialang.org/u/Jax_Xu)\
**Replies:** 6\
**Last updated:** [August 26, 2025, 9:12am UTC](https://discourse.julialang.org/t/how-to-discretize-a-pde-with-a-moving-boundary-a-k-a-stefan-problem-a-k-a-variable-boundary/123687 "2025-08-26T09:12:30Z")

</div>

Hi Community! I need your expertise :sob:! I am solving a 1D diffusion equation with a moving boundary. The physical background is the reaction of gas with a solid particle, where the gas diffuses through the product lay…

---

## [Method of Lines Interface index error](https://discourse.julialang.org/t/method-of-lines-interface-index-error/104402)

<div class="topic-metadata">

**Author:** [@Can\_Bozdogan](https://discourse.julialang.org/u/Can_Bozdogan)\
**Replies:** 1\
**Last updated:** [October 3, 2023, 1:01pm UTC](https://discourse.julialang.org/t/method-of-lines-interface-index-error/104402 "2023-10-03T13:01:36Z")

</div>

Hi everyone, I’m new to Julia language, this is my first time asking a question, so please forgive me if there is any mistake in my question format. I have been working on discretizing a PDE system by using MethodOfLin…

---

## [Discrete systems in MTK](https://discourse.julialang.org/t/discrete-systems-in-mtk/98602)

<div class="topic-metadata">

**Author:** [@HamzaKh99](https://discourse.julialang.org/u/HamzaKh99)\
**Replies:** 1\
**Last updated:** [May 10, 2023, 12:00pm UTC](https://discourse.julialang.org/t/discrete-systems-in-mtk/98602 "2023-05-10T12:00:08Z")

</div>

Hello everyone! I’m trying to do a discrete system example, using Difference and Differential functions, when I create the ODEProblem without structural\_simplify() I get the results I want. \`using ModelingToolkit usin…

---

## [There is a Julia Package for Discrete Element Method?](https://discourse.julialang.org/t/there-is-a-julia-package-for-discrete-element-method/68733)

<div class="topic-metadata">

**Author:** [@vinicius\_de\_lima](https://discourse.julialang.org/u/vinicius_de_lima)\
**Replies:** 1\
**Last updated:** [September 25, 2021, 1:55am UTC](https://discourse.julialang.org/t/there-is-a-julia-package-for-discrete-element-method/68733 "2021-09-25T01:55:06Z")

</div>

I am making an undergraduate research in “Micromechanical modeling of geotechnical infrastructure problems” currently using the Yade software for Discrete Element method, which is implemented in C++ and uses Python scrip…

---

## [Discrete inverse Laplace transform (constrains and regularisation)](https://discourse.julialang.org/t/discrete-inverse-laplace-transform-constrains-and-regularisation/55580)

<div class="topic-metadata">

**Author:** [@MatFi](https://discourse.julialang.org/u/MatFi)\
**Replies:** 8\
**Last updated:** [February 21, 2021, 10:44am UTC](https://discourse.julialang.org/t/discrete-inverse-laplace-transform-constrains-and-regularisation/55580 "2021-02-21T10:44:31Z")

</div>

I want to conduct an Inverse Laplace Transform (ILT) on sampled data. I am aware of InverseLaplace.jl, but sadly it doesn’t work well on discrete (sampled) data due to a missing interface and regularization. So I decide…

---

## [How to define a JuMP variable in a specific discrete set?](https://discourse.julialang.org/t/how-to-define-a-jump-variable-in-a-specific-discrete-set/42754)

<div class="topic-metadata">

**Author:** [@ZdM87](https://discourse.julialang.org/u/ZdM87)\
**Replies:** 2\
**Last updated:** [July 8, 2020, 11:00pm UTC](https://discourse.julialang.org/t/how-to-define-a-jump-variable-in-a-specific-discrete-set/42754 "2020-07-08T23:00:55Z")

</div>

I have an integer variable that takes values in {2, 5, 6, 8, 10}. How do I define this in JuMP? For an integer variable, I do @variable(model, x, Int) but this will take all integer variables. I can set the upper and …

---

## [New blog post on arrays](https://discourse.julialang.org/t/new-blog-post-on-arrays/3308)

<div class="topic-metadata">

**Author:** [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Replies:** 9\
**Last updated:** [April 24, 2017, 7:55pm UTC](https://discourse.julialang.org/t/new-blog-post-on-arrays/3308 "2017-04-24T19:55:30Z")

</div>

There’s a new blog post focused on a relatively new capability in Julia, the ability to use arrays that index starting at values other than 1. The post is aimed at users, giving examples of how this capability can simpli…
