# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?page=3

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

**Page:** 4

---

## [Spiking Neural Networks](https://discourse.julialang.org/t/spiking-neural-networks/63270)

<div class="topic-metadata">

**Author:** [@mefob](https://discourse.julialang.org/u/mefob)\
**Replies:** 33\
**Last updated:** [July 9, 2026, 4:32pm UTC](https://discourse.julialang.org/t/spiking-neural-networks/63270 "2026-07-09T16:32:19Z")

</div>

What is the state of the art for modeling spiking neural networks in Julia? I haven’t found much recent work: Spiking Neural Network (Discussion from 2019 on implementing a SNN as an ODE) GitHub - AStupidBear/Spikin…

---

## [Interpolating solution to constrained BVP](https://discourse.julialang.org/t/interpolating-solution-to-constrained-bvp/137989)

<div class="topic-metadata">

**Author:** [@kar15](https://discourse.julialang.org/u/kar15)\
**Replies:** 3\
**Last updated:** [July 9, 2026, 7:41am UTC](https://discourse.julialang.org/t/interpolating-solution-to-constrained-bvp/137989 "2026-07-09T07:41:02Z")

</div>

Hi all! When trying to find interpolated values of a solution to a constrained BVP using SciMLs collocation method, I get an error. Here is a MWE: using BoundaryValueDiffEq, OptimizationIpopt function f!(du, u, p, t) …

---

## [Mutable Computational Graphs in Pure Julia: Performing "Hot Surgery" on a LLaMA Transformer](https://discourse.julialang.org/t/mutable-computational-graphs-in-pure-julia-performing-hot-surgery-on-a-llama-transformer/138018)

<div class="topic-metadata">

**Author:** [@Khemais\_Abdallah](https://discourse.julialang.org/u/Khemais_Abdallah)\
**Replies:** 0\
**Last updated:** [July 8, 2026, 11:53pm UTC](https://discourse.julialang.org/t/mutable-computational-graphs-in-pure-julia-performing-hot-surgery-on-a-llama-transformer/138018 "2026-07-08T23:53:25Z")

</div>

Hi everyone, I am Abdallah Khemais. As an Instructor of Applied Mathematics and AI at ISITCOM Sousse Tunisia, with over two decades of experience, my work focuses on the intersection of formal mathematical theory and hig…

---

## [ModelingToolkit.jl / Multibody.jl with interpolated joint properties](https://discourse.julialang.org/t/modelingtoolkit-jl-multibody-jl-with-interpolated-joint-properties/133754)

<div class="topic-metadata">

**Author:** [@Jskacines](https://discourse.julialang.org/u/Jskacines)\
**Replies:** 11\
**Last updated:** [July 8, 2026, 2:52pm UTC](https://discourse.julialang.org/t/modelingtoolkit-jl-multibody-jl-with-interpolated-joint-properties/133754 "2026-07-08T14:52:43Z")

</div>

Hello Julia community, I am working on a multibody dynamics simulation, and was looking to use ModelingToolkit.jl along with Multibody.jl The specific problem I am working on involves an externally solved mapping of jo…

---

## [Initialization in ModelingToolkit](https://discourse.julialang.org/t/initialization-in-modelingtoolkit/137983)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 0\
**Last updated:** [July 7, 2026, 12:17pm UTC](https://discourse.julialang.org/t/initialization-in-modelingtoolkit/137983 "2026-07-07T12:17:13Z")

</div>

Questions, etc. If any of the functionality discussed below already exists, please let me know! Does anyone else find the ideas useful? Or am I the only one that struggles with initialization? If anyone with better prog…

---

## [Optimization.jl - Define the objective function and its gradient in the same function](https://discourse.julialang.org/t/optimization-jl-define-the-objective-function-and-its-gradient-in-the-same-function/137968)

<div class="topic-metadata">

**Author:** [@Maucejo](https://discourse.julialang.org/u/Maucejo)\
**Replies:** 3\
**Last updated:** [July 7, 2026, 6:30am UTC](https://discourse.julialang.org/t/optimization-jl-define-the-objective-function-and-its-gradient-in-the-same-function/137968 "2026-07-07T06:30:44Z")

</div>

Hi all, I am working on an optimization problem involving Complex Gaussian Processes and Kalman Filter. To optimize the hyperparameters of the kernels, I use Optimization.jl. Because I have calculated the analytical grad…

---

## [Mooncake.jl with variable sized input](https://discourse.julialang.org/t/mooncake-jl-with-variable-sized-input/137943)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 5\
**Last updated:** [July 6, 2026, 1:58pm UTC](https://discourse.julialang.org/t/mooncake-jl-with-variable-sized-input/137943 "2026-07-06T13:58:40Z")

</div>

This post is intended as a log for people interested in Mooncake. Similarly, I am interested in feedback. Background: I am interested in learning from structured data, under which you can think about JSON documents. I a…

---

## [Blog post on GPU ecosystem](https://discourse.julialang.org/t/blog-post-on-gpu-ecosystem/137971)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 0\
**Last updated:** [July 6, 2026, 1:28pm UTC](https://discourse.julialang.org/t/blog-post-on-gpu-ecosystem/137971 "2026-07-06T13:28:50Z")

</div>

Hi all! Following discussions on Slack, I got a blog post started to list the major packages in Julia’s GPU ecosystem and show how they interact. It’s getting close to completion and I would appreciate reviews / suggest…

---

## [Decomposing a scenario-feasibility MILP with binary recourse in JuMP](https://discourse.julialang.org/t/decomposing-a-scenario-feasibility-milp-with-binary-recourse-in-jump/137898)

<div class="topic-metadata">

**Author:** [@decomp-lab](https://discourse.julialang.org/u/decomp-lab)\
**Replies:** 10\
**Last updated:** [July 5, 2026, 10:52pm UTC](https://discourse.julialang.org/t/decomposing-a-scenario-feasibility-milp-with-binary-recourse-in-jump/137898 "2026-07-05T22:52:47Z")

</div>

I have a two-stage multi-scenario MILP in JuMP with an inventory/order-flow structure. The first-stage variables are shared across all scenarios. Each scenario then has its own continuous flow variables and binary timin…

---

## [Small step size in LBFGS for neural network with complex values](https://discourse.julialang.org/t/small-step-size-in-lbfgs-for-neural-network-with-complex-values/137946)

<div class="topic-metadata">

**Author:** [@Knud\_Sorensen](https://discourse.julialang.org/u/Knud_Sorensen)\
**Replies:** 3\
**Last updated:** [July 5, 2026, 6:46pm UTC](https://discourse.julialang.org/t/small-step-size-in-lbfgs-for-neural-network-with-complex-values/137946 "2026-07-05T18:46:42Z")

</div>

I wrote my own LBFGS code for a neural network with complex values. It worked until the step size became to small to change the network because of floating point position. Has anyone had similar problems and know how t…

---

## [How to use Multibody.jl?](https://discourse.julialang.org/t/how-to-use-multibody-jl/134354)

<div class="topic-metadata">

**Author:** [@SietseAchterop](https://discourse.julialang.org/u/SietseAchterop)\
**Replies:** 8\
**Last updated:** [July 3, 2026, 12:16pm UTC](https://discourse.julialang.org/t/how-to-use-multibody-jl/134354 "2026-07-03T12:16:15Z")

</div>

Hello all, I am new to Julia, now on version 1.12.2 on Linux/Debian version 13.2. Played around with it and with Dyad. Now trying to use the Pendulum example from Multibody.jl I can do add and then using ModelingTool…

---

## [Axis padding](https://discourse.julialang.org/t/axis-padding/137904)

<div class="topic-metadata">

**Author:** [@grero](https://discourse.julialang.org/u/grero)\
**Replies:** 2\
**Last updated:** [July 3, 2026, 12:37am UTC](https://discourse.julialang.org/t/axis-padding/137904 "2026-07-03T00:37:36Z")

</div>

Is there a way to pad an axis in Makie without modifying the data limits? I’m trying to use brackets to highlight a range in a heat map, like in the following little example. using Makie function bracket\_test() fig…

---

## [Invertible Neural Networks](https://discourse.julialang.org/t/invertible-neural-networks/137909)

<div class="topic-metadata">

**Author:** [@langestefan](https://discourse.julialang.org/u/langestefan)\
**Replies:** 0\
**Last updated:** [July 2, 2026, 2:40pm UTC](https://discourse.julialang.org/t/invertible-neural-networks/137909 "2026-07-02T14:40:20Z")

</div>

I was looking at doing some modelling work using invertible neural-networks in Julia with Lux.jl. There aren’t many options, but I found GitHub - slimgroup/InvertibleNetworks.jl: A Julia framework for invertible neural …

---

## [Why doesn't the solver reach the optimal solution?](https://discourse.julialang.org/t/why-doesnt-the-solver-reach-the-optimal-solution/137852)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 7\
**Last updated:** [July 1, 2026, 3:14am UTC](https://discourse.julialang.org/t/why-doesnt-the-solver-reach-the-optimal-solution/137852 "2026-07-01T03:14:12Z")

</div>

Hello, I am working on improving a formulation of an optimization problem with JuMP and have encountered an issue that has been blocking me for several days. After extensive debugging and manual verification, I am reason…

---

## [Solving the Helium Eigenvalue Problem—where to start?](https://discourse.julialang.org/t/solving-the-helium-eigenvalue-problem-where-to-start/137783)

<div class="topic-metadata">

**Author:** [@ducksoverip](https://discourse.julialang.org/u/ducksoverip)\
**Replies:** 8\
**Last updated:** [June 29, 2026, 7:18pm UTC](https://discourse.julialang.org/t/solving-the-helium-eigenvalue-problem-where-to-start/137783 "2026-06-29T19:18:53Z")

</div>

I have inherited Fortran code (the same one in this paper) that solves the time-independent Schrodinger equation for the ground state of the helium atom. This is generally a very difficult problem because the Schrodinger…

---

## [Boundary Condition Error in MethodOfLines](https://discourse.julialang.org/t/boundary-condition-error-in-methodoflines/137819)

<div class="topic-metadata">

**Author:** [@ducksoverip](https://discourse.julialang.org/u/ducksoverip)\
**Replies:** 2\
**Last updated:** [June 29, 2026, 12:53pm UTC](https://discourse.julialang.org/t/boundary-condition-error-in-methodoflines/137819 "2026-06-29T12:53:59Z")

</div>

I’m trying to use MethodOfLines to solve the time-independent Schrodinger equation for hydrogen, as a prelude to more complicated systems. The equation is as follows: \\nabla^2 \\psi(\\vec{r}) - \\frac{1}{r}\\psi(\\vec{r}) =…

---

## [AD using Enzyme in ODE problem with DataInterpolations](https://discourse.julialang.org/t/ad-using-enzyme-in-ode-problem-with-datainterpolations/137771)

<div class="topic-metadata">

**Author:** [@imre](https://discourse.julialang.org/u/imre)\
**Replies:** 3\
**Last updated:** [June 29, 2026, 7:47am UTC](https://discourse.julialang.org/t/ad-using-enzyme-in-ode-problem-with-datainterpolations/137771 "2026-06-29T07:47:07Z")

</div>

Hello, I have an ODE problem which uses DataInterpolations.jl to obtain input values for the system at specific timepoints in order to compute dx. I want to use Enzyme.jl to compute the gradients with respect to paramete…

---

## [Making a Universal Differential Equation Faster](https://discourse.julialang.org/t/making-a-universal-differential-equation-faster/137829)

<div class="topic-metadata">

**Author:** [@Ashima\_Kalathingal](https://discourse.julialang.org/u/Ashima_Kalathingal)\
**Replies:** 1\
**Last updated:** [June 28, 2026, 1:57am UTC](https://discourse.julialang.org/t/making-a-universal-differential-equation-faster/137829 "2026-06-28T01:57:32Z")

</div>

I have a two-state ODE, one of which is embedded in a neural network, making it a UDE. I am using 9 datasets for training, resulting in 9 distinct ODEs. prob1 = ODEProblem(UDE\_model1!,\[SOC0\_1, T∞1\],(time1\[1\],time1\[end\])…

---

## [How does ForwardDiff.jl and FiniteDiff.jl handle edge-hitting cases?](https://discourse.julialang.org/t/how-does-forwarddiff-jl-and-finitediff-jl-handle-edge-hitting-cases/137828)

<div class="topic-metadata">

**Author:** [@Xu\_Shan](https://discourse.julialang.org/u/Xu_Shan)\
**Replies:** 3\
**Last updated:** [June 27, 2026, 11:18pm UTC](https://discourse.julialang.org/t/how-does-forwarddiff-jl-and-finitediff-jl-handle-edge-hitting-cases/137828 "2026-06-27T23:18:02Z")

</div>

Hi guys, I am using ForwardDiff.jl to calculate the parameter uncertainty in my model (see below about the more detailed information…). I am wondering, how does ForwardDiff.jl and FiniteDiff.jl handle the edge-hitting p…

---

## [How to make a heatmap with pgfplotsx?](https://discourse.julialang.org/t/how-to-make-a-heatmap-with-pgfplotsx/75128)

<div class="topic-metadata">

**Author:** [@ccmejia](https://discourse.julialang.org/u/ccmejia)\
**Replies:** 4\
**Last updated:** [June 27, 2026, 2:08pm UTC](https://discourse.julialang.org/t/how-to-make-a-heatmap-with-pgfplotsx/75128 "2026-06-27T14:08:07Z")

</div>

Hi there! Which is the straightforward pgfplotsx way to make heatmap figure? For Plots is so easy: V = rand(20, 20) heatmap(V) Thanks in advanced!

---

## [Hexaly solver with JuMP](https://discourse.julialang.org/t/hexaly-solver-with-jump/124827)

<div class="topic-metadata">

**Author:** [@baprata](https://discourse.julialang.org/u/baprata)\
**Replies:** 8\
**Last updated:** [June 26, 2026, 7:45pm UTC](https://discourse.julialang.org/t/hexaly-solver-with-jump/124827 "2026-06-26T19:45:57Z")

</div>

Dear Colleagues, Is it feasible to call the Hexaly solver (https://www.hexaly.com/) within the JuMP library? If so, could someone provide some source code with an example? Best regards, Bruno

---

## [Question about SDDP.jl](https://discourse.julialang.org/t/question-about-sddp-jl/137741)

<div class="topic-metadata">

**Author:** [@david-hri](https://discourse.julialang.org/u/david-hri)\
**Replies:** 2\
**Last updated:** [June 26, 2026, 8:15am UTC](https://discourse.julialang.org/t/question-about-sddp-jl/137741 "2026-06-26T08:15:57Z")

</div>

Hello, I am new to SDDP.jl, so my question may be naive. I currently have a working SDDP model in which the generation profits are computed using a fixed hydraulic head effect (so the efficiency does not depend on the…

---

## [How to link PolarAxis in Makie.jl](https://discourse.julialang.org/t/how-to-link-polaraxis-in-makie-jl/137787)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 3\
**Last updated:** [June 25, 2026, 11:30am UTC](https://discourse.julialang.org/t/how-to-link-polaraxis-in-makie-jl/137787 "2026-06-25T11:30:21Z")

</div>

I know we can use Makie.linkaxes(fig.content...) when the content is a collection of Makie.Axis. If I try the same command with Makie.PolarAxis, I get an error. Is it currently not supported?

---

## [Sensitivity Analysis on ODE system](https://discourse.julialang.org/t/sensitivity-analysis-on-ode-system/137757)

<div class="topic-metadata">

**Author:** [@violabini](https://discourse.julialang.org/u/violabini)\
**Replies:** 4\
**Last updated:** [June 25, 2026, 9:40am UTC](https://discourse.julialang.org/t/sensitivity-analysis-on-ode-system/137757 "2026-06-25T09:40:40Z")

</div>

Hi everyone, I am trying to use automatic differentiation in julia to compute the Jacobian of my outputs wrt my design variables for local sensitivity, but my ODEs are nearly coupled as for example du\[3\]=A\*du\[2\]+B u\[1\].…

---

## [How to Create Global Parameters in ModelingToolkit.jl](https://discourse.julialang.org/t/how-to-create-global-parameters-in-modelingtoolkit-jl/60065)

<div class="topic-metadata">

**Author:** [@Brad\_Carman](https://discourse.julialang.org/u/Brad_Carman)\
**Replies:** 6\
**Last updated:** [June 25, 2026, 9:37am UTC](https://discourse.julialang.org/t/how-to-create-global-parameters-in-modelingtoolkit-jl/60065 "2026-06-25T09:37:00Z")

</div>

Is it possible to create global parameters? For example, when modeling a gas or fluid, it would be convenient to define them globally, similar to how is done in SimScape with a domain definition. I attempted to create …

---

## [Solver differences between sim!(::SimModel) and sim!(::PredictiveController) in ModelPredictiveControl.jl](https://discourse.julialang.org/t/solver-differences-between-sim-simmodel-and-sim-predictivecontroller-in-modelpredictivecontrol-jl/120819)

<div class="topic-metadata">

**Author:** [@Bart\_van\_de\_Lint](https://discourse.julialang.org/u/Bart_van_de_Lint)\
**Replies:** 19\
**Last updated:** [June 24, 2026, 5:15pm UTC](https://discourse.julialang.org/t/solver-differences-between-sim-simmodel-and-sim-predictivecontroller-in-modelpredictivecontrol-jl/120819 "2026-06-24T17:15:12Z")

</div>

I am trying to use NMPC in ModelPredictiveControl.jl, but while my model runs with sim!(model) it gets a boundserror with sim!(nmpc). To try to find out what is going on, I tried to run the two sim! functions on a simpl…

---

## [Memory blow-up when solving a sparse affine Hermitian SDP translated from YALMIP to JuMP](https://discourse.julialang.org/t/memory-blow-up-when-solving-a-sparse-affine-hermitian-sdp-translated-from-yalmip-to-jump/137744)

<div class="topic-metadata">

**Author:** [@hz-xiaxz](https://discourse.julialang.org/u/hz-xiaxz)\
**Replies:** 10\
**Last updated:** [June 23, 2026, 7:24am UTC](https://discourse.julialang.org/t/memory-blow-up-when-solving-a-sparse-affine-hermitian-sdp-translated-from-yalmip-to-jump/137744 "2026-06-23T07:24:42Z")

</div>

Hi JuMP developers, I am translating a MATLAB/YALMIP semidefinite program to Julia/JuMP + MosekTools. The model comes from a many-body bootstrap calculation. The MATLAB/YALMIP version can solve a small 3 x 3 lattice cas…

---

## [SciML: Issues using \`GaussAdjoint\` on an \`EnsembleProblem\` with callbacks](https://discourse.julialang.org/t/sciml-issues-using-gaussadjoint-on-an-ensembleproblem-with-callbacks/137503)

<div class="topic-metadata">

**Author:** [@LucasGrasso](https://discourse.julialang.org/u/LucasGrasso)\
**Replies:** 11\
**Last updated:** [June 21, 2026, 8:30pm UTC](https://discourse.julialang.org/t/sciml-issues-using-gaussadjoint-on-an-ensembleproblem-with-callbacks/137503 "2026-06-21T20:30:04Z")

</div>

Hello there, I am rather new to Julia, and I am trying to implement a Neural ODE model that relies on event callbacks to terminate integration. I am using the GaussAdjoint, given that it supports callbacks and that it w…

---

## [How can I keep a GLMakie window open?](https://discourse.julialang.org/t/how-can-i-keep-a-glmakie-window-open/137713)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [June 20, 2026, 3:54pm UTC](https://discourse.julialang.org/t/how-can-i-keep-a-glmakie-window-open/137713 "2026-06-20T15:54:42Z")

</div>

I switched from PythonPlot to GLMakie, and in PythonPlot, I could do: plt.show(block=true) at the end of a script that is run from the command line (not from the REPL) to keep the plot window open until the user closes…

---

## [Nested submodels slow down Turing ~7x (Mooncake AD)](https://discourse.julialang.org/t/nested-submodels-slow-down-turing-7x-mooncake-ad/137679)

<div class="topic-metadata">

**Author:** [@simonsteiger](https://discourse.julialang.org/u/simonsteiger)\
**Replies:** 5\
**Last updated:** [June 20, 2026, 2:30pm UTC](https://discourse.julialang.org/t/nested-submodels-slow-down-turing-7x-mooncake-ad/137679 "2026-06-20T14:30:36Z")

</div>

I just discovered that nesting several submodels in Turing.jl seems to considerably slow down sampling (I only tried Mooncake.jl so far). The code below shows this with the eight schools dataset. I’ve deliberately made …

[Previous page](https://discourse.julialang.org/c/domain/10.md?page=2)

[Next page](https://discourse.julialang.org/c/domain/10.md?page=4)
