# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=57

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

**Page:** 58

---

## [ExaModels optimizer API for JuMP has convergence issue](https://discourse.julialang.org/t/examodels-optimizer-api-for-jump-has-convergence-issue/126032)

<div class="topic-metadata">

**Author:** [@KSepetanc](https://discourse.julialang.org/u/KSepetanc)\
**Replies:** 5\
**Last updated:** [February 19, 2025, 12:30am UTC](https://discourse.julialang.org/t/examodels-optimizer-api-for-jump-has-convergence-issue/126032 "2025-02-19T00:30:18Z")

</div>

It is my understanding that convergence should not depend on selection of AD package. I have tested many AD options on the same model and only one option has different convergence (number of iterations and reported value…

---

## [Difficulty in using JuMP with Complex Functions](https://discourse.julialang.org/t/difficulty-in-using-jump-with-complex-functions/126045)

<div class="topic-metadata">

**Author:** [@MechRob](https://discourse.julialang.org/u/MechRob)\
**Replies:** 3\
**Last updated:** [February 18, 2025, 11:42pm UTC](https://discourse.julialang.org/t/difficulty-in-using-jump-with-complex-functions/126045 "2025-02-18T23:42:04Z")

</div>

I am trying to create an optimization problem with JuMP. In order to create the constraints I have a function, which I generated its elements with Symbolics. When I pass numerical values, I can calculate the terms in ten…

---

## [FFMPEG error when using @animate in Julia: "Output file #0 does not contain any stream"](https://discourse.julialang.org/t/ffmpeg-error-when-using-animate-in-julia-output-file-0-does-not-contain-any-stream/125919)

<div class="topic-metadata">

**Author:** [@Sarah\_Groves](https://discourse.julialang.org/u/Sarah_Groves)\
**Replies:** 4\
**Last updated:** [February 18, 2025, 7:15pm UTC](https://discourse.julialang.org/t/ffmpeg-error-when-using-animate-in-julia-output-file-0-does-not-contain-any-stream/125919 "2025-02-18T19:15:59Z")

</div>

I am trying to run the example code at Animations · Plots : using Plots @userplot CirclePlot @recipe function f(cp::CirclePlot) x, y, i = cp.args n = length(x) inds = circshift(1:n, 1 - i) linewidth --\> …

---

## [Where NLPModels.jl stands in comparition to JuMP?](https://discourse.julialang.org/t/where-nlpmodels-jl-stands-in-comparition-to-jump/126033)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [February 18, 2025, 3:32pm UTC](https://discourse.julialang.org/t/where-nlpmodels-jl-stands-in-comparition-to-jump/126033 "2025-02-18T15:32:56Z")

</div>

I have just discovered NLPModels.jl. How does it stand compared to JuMP ? I even understood there is a package to translate one “model format” (??) to the other, but I don’t have quite clear how the two packages positio…

---

## [Training Universal PINNs using NeuralPDE?](https://discourse.julialang.org/t/training-universal-pinns-using-neuralpde/125948)

<div class="topic-metadata">

**Author:** [@John\_Nardini](https://discourse.julialang.org/u/John_Nardini)\
**Replies:** 4\
**Last updated:** [February 18, 2025, 2:34pm UTC](https://discourse.julialang.org/t/training-universal-pinns-using-neuralpde/125948 "2025-02-18T14:34:44Z")

</div>

I am interested Universal PINNs (UPINNs) to describe some data. UPINNs are similar to a PINN, but we assume that the underlying DE model has known and unknown dynamics: \\dfrac{d\\vec{u}}{dt} = F\_{known}(\\vec{u}) + F\_{unk…

---

## [How to draw the lines connecting the subplots](https://discourse.julialang.org/t/how-to-draw-the-lines-connecting-the-subplots/124540)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 3\
**Last updated:** [February 18, 2025, 2:12pm UTC](https://discourse.julialang.org/t/how-to-draw-the-lines-connecting-the-subplots/124540 "2025-02-18T14:12:40Z")

</div>

I would like to draw the lines on top of a large composite plot constructed from several subplots using layout. Specifically, I would like to draw the lines in the gap between the two plots to indicate that one of the s…

---

## [I get a warning when i use Upsample layer with AMDGPU](https://discourse.julialang.org/t/i-get-a-warning-when-i-use-upsample-layer-with-amdgpu/112728)

<div class="topic-metadata">

**Author:** [@Radu\_Mihai\_Diaconu](https://discourse.julialang.org/u/Radu_Mihai_Diaconu)\
**Replies:** 1\
**Last updated:** [February 18, 2025, 11:00am UTC](https://discourse.julialang.org/t/i-get-a-warning-when-i-use-upsample-layer-with-amdgpu/112728 "2025-02-18T11:00:35Z")

</div>

Hello guys so i have this code using Flux: Upsample noise = 0.5f0 + 0.001f0 .+ AMDGPU.randn(Float32, 32, 32, 1, 1) layer1 = Upsample(:bilinear, size=(64, 64, 1, 1)) |\> gpu layer1(noise) any reason for me getting thi…

---

## [Distributed Data Parallel training with 2 GPUs fails with Flux.jl on AMD GPUs](https://discourse.julialang.org/t/distributed-data-parallel-training-with-2-gpus-fails-with-flux-jl-on-amd-gpus/125993)

<div class="topic-metadata">

**Author:** [@Alexander-Barth](https://discourse.julialang.org/u/Alexander-Barth)\
**Replies:** 7\
**Last updated:** [February 18, 2025, 8:41am UTC](https://discourse.julialang.org/t/distributed-data-parallel-training-with-2-gpus-fails-with-flux-jl-on-amd-gpus/125993 "2025-02-18T08:41:29Z")

</div>

I am using Flux (with this PR Fix missing imports in FluxMPIExt by Alexander-Barth · Pull Request #2589 · FluxML/Flux.jl · GitHub to fix some MPI related imports) on two AMD GPUs with Distributed Data Parallel (DDP). Ho…

---

## [OR-Tools for JuMP](https://discourse.julialang.org/t/or-tools-for-jump/106171)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 6\
**Last updated:** [February 18, 2025, 7:04am UTC](https://discourse.julialang.org/t/or-tools-for-jump/106171 "2025-02-18T07:04:54Z")

</div>

Are there plans to add the solvers in OR-Tools to JuMP? OR-Tools has 2 LP solvers, PDLP and GLOP, and a constraint programming solver, CP-SAT, which solves integer linear programs (no continuous variables) and more gener…

---

## [\[ANN\] A database of quantum graph states equivalent under local operations](https://discourse.julialang.org/t/ann-a-database-of-quantum-graph-states-equivalent-under-local-operations/126013)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 0\
**Last updated:** [February 18, 2025, 3:10am UTC](https://discourse.julialang.org/t/ann-a-database-of-quantum-graph-states-equivalent-under-local-operations/126013 "2025-02-18T03:10:27Z")

</div>

Quantum graph states are a useful tool to study quantum entanglement and a resource in networking and computation. Knowing whether two graph states are equivalent under local operations is quite useful when studying how …

---

## [Hessian preparation using DifferentationInterface and Mooncake throws a stackoverflow error](https://discourse.julialang.org/t/hessian-preparation-using-differentationinterface-and-mooncake-throws-a-stackoverflow-error/125946)

<div class="topic-metadata">

**Author:** [@Gattu\_Mytraya](https://discourse.julialang.org/u/Gattu_Mytraya)\
**Replies:** 9\
**Last updated:** [February 17, 2025, 9:47pm UTC](https://discourse.julialang.org/t/hessian-preparation-using-differentationinterface-and-mooncake-throws-a-stackoverflow-error/125946 "2025-02-17T21:47:24Z")

</div>

Hi, I am trying to calculate the hessian of a function using DifferentitationInterface.jl with Mooncake as the backend. The calculation of the jacobian this way is very fast - both in the preparation stage and the actua…

---

## [Issue parsing Ipopt\_jll string option when there is blank space in path](https://discourse.julialang.org/t/issue-parsing-ipopt-jll-string-option-when-there-is-blank-space-in-path/125943)

<div class="topic-metadata">

**Author:** [@KSepetanc](https://discourse.julialang.org/u/KSepetanc)\
**Replies:** 4\
**Last updated:** [February 17, 2025, 6:48pm UTC](https://discourse.julialang.org/t/issue-parsing-ipopt-jll-string-option-when-there-is-blank-space-in-path/125943 "2025-02-17T18:48:14Z")

</div>

The following code does not work when called from path that has blank space. using JuMP, AmplNLWriter, Ipopt\_jll mod = Model(() -\> AmplNLWriter.Optimizer(Ipopt\_jll.amplexe)) set\_attribute(mod, "output\_file", joinpath(@…

---

## [Optim.jl and runtime dispatch detected errors](https://discourse.julialang.org/t/optim-jl-and-runtime-dispatch-detected-errors/125981)

<div class="topic-metadata">

**Author:** [@Miroboru](https://discourse.julialang.org/u/Miroboru)\
**Replies:** 1\
**Last updated:** [February 17, 2025, 6:36pm UTC](https://discourse.julialang.org/t/optim-jl-and-runtime-dispatch-detected-errors/125981 "2025-02-17T18:36:23Z")

</div>

I have a piece of simulation software that makes millions of calls to Optim.optimize during runs. I seemingly have a lot of allocations, so I use JET and tested my code with @report\_opt. The result was a large number of …

---

## [Difficulty when differentiating with DifferentiationInterface.jl and Mooncake.jl](https://discourse.julialang.org/t/difficulty-when-differentiating-with-differentiationinterface-jl-and-mooncake-jl/125982)

<div class="topic-metadata">

**Author:** [@Nikos\_Gianniotis](https://discourse.julialang.org/u/Nikos_Gianniotis)\
**Replies:** 3\
**Last updated:** [February 17, 2025, 5:23pm UTC](https://discourse.julialang.org/t/difficulty-when-differentiating-with-differentiationinterface-jl-and-mooncake-jl/125982 "2025-02-17T17:23:25Z")

</div>

Hello everyone. I am stuck with the following problem for which I have created below a MWE. It concerns automatic differentiation using DifferentiationInterface.jl together with Mooncake.jl. From the error message I get,…

---

## [Storing only rolling mean and variance when solving SDEProblems](https://discourse.julialang.org/t/storing-only-rolling-mean-and-variance-when-solving-sdeproblems/125900)

<div class="topic-metadata">

**Author:** [@johannesnauta](https://discourse.julialang.org/u/johannesnauta)\
**Replies:** 5\
**Last updated:** [February 17, 2025, 1:51pm UTC](https://discourse.julialang.org/t/storing-only-rolling-mean-and-variance-when-solving-sdeproblems/125900 "2025-02-17T13:51:29Z")

</div>

Hi all, I have been trying to reduce memory overhead as I found that in my systems of interest there were a lot of unnecessary reads/writes as the state was saved at each (specified) interval dt. In fact, for my purpose…

---

## [What is the collapsed state by measuring in arbitrary basis](https://discourse.julialang.org/t/what-is-the-collapsed-state-by-measuring-in-arbitrary-basis/125939)

<div class="topic-metadata">

**Author:** [@yao\_novice](https://discourse.julialang.org/u/yao_novice)\
**Replies:** 2\
**Last updated:** [February 17, 2025, 7:08am UTC](https://discourse.julialang.org/t/what-is-the-collapsed-state-by-measuring-in-arbitrary-basis/125939 "2025-02-17T07:08:52Z")

</div>

Goal: Measure a 2 qubit state \\quad\\displaystyle{ |\\psi\\rangle = \\frac{1}{5} \\begin{pmatrix} 4 \\\\ 2i\\\\ 1\\\\ -2\\\\ \\end{pmatrix} } in the basis of the eigenvectors of operator X \\otimes Y This basis is \\quad\\displaystyle{…

---

## [Macro to substitute parameters used for JuMP model](https://discourse.julialang.org/t/macro-to-substitute-parameters-used-for-jump-model/125936)

<div class="topic-metadata">

**Author:** [@KSepetanc](https://discourse.julialang.org/u/KSepetanc)\
**Replies:** 2\
**Last updated:** [February 16, 2025, 11:27pm UTC](https://discourse.julialang.org/t/macro-to-substitute-parameters-used-for-jump-model/125936 "2025-02-16T23:27:24Z")

</div>

I read available topics on macros but still can not make working macro to substitute parameter. What I want is instead of creating new variable (for example Pmax) to use @Pmax macro that will expand @Pmax(g) to data\[:gen…

---

## [USD format?](https://discourse.julialang.org/t/usd-format/22064)

<div class="topic-metadata">

**Author:** [@Orbots](https://discourse.julialang.org/u/Orbots)\
**Replies:** 3\
**Last updated:** [February 16, 2025, 8:39pm UTC](https://discourse.julialang.org/t/usd-format/22064 "2025-02-16T20:39:14Z")

</div>

Are there any current packages around that support USD in some form? https://graphics.pixar.com/usd/docs/Introduction-to-USD.html Looks like it’s becoming the way to exchange 3D scenes between applications. I’m inter…

---

## [Interpreting TuringBenchmarking.jl output?](https://discourse.julialang.org/t/interpreting-turingbenchmarking-jl-output/119356)

<div class="topic-metadata">

**Author:** [@rkube](https://discourse.julialang.org/u/rkube)\
**Replies:** 1\
**Last updated:** [February 15, 2025, 6:13pm UTC](https://discourse.julialang.org/t/interpreting-turingbenchmarking-jl-output/119356 "2025-02-15T18:13:01Z")

</div>

Hi, I’m trying to benchmark a turing model as described here and it’s not really clear to me what the output means: 2-element BenchmarkTools.BenchmarkGroup: tags: \[\] "evaluation" =\> 2-element BenchmarkTools.Benchma…

---

## [\[DICE: GAMS -\> JuMP\] How to debug JuMP model errors (find the culpit)?](https://discourse.julialang.org/t/dice-gams-jump-how-to-debug-jump-model-errors-find-the-culpit/125578)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 6\
**Last updated:** [February 15, 2025, 4:15pm UTC](https://discourse.julialang.org/t/dice-gams-jump-how-to-debug-jump-model-errors-find-the-culpit/125578 "2025-02-15T16:15:00Z")

</div>

Hello, this post il dual :slight\_smile: It’s at the same time a request for help for a specific case, but also a much more general question. I am trying to port the Nordhaus’s DICE climate change model v2023 to Julia, …

---

## [Trouble trying to implement DifferentialEquations.jl integrator in an agent\_step() for a model in Agents.jl?](https://discourse.julialang.org/t/trouble-trying-to-implement-differentialequations-jl-integrator-in-an-agent-step-for-a-model-in-agents-jl/125920)

<div class="topic-metadata">

**Author:** [@raylv17](https://discourse.julialang.org/u/raylv17)\
**Replies:** 1\
**Last updated:** [February 14, 2025, 11:41pm UTC](https://discourse.julialang.org/t/trouble-trying-to-implement-differentialequations-jl-integrator-in-an-agent-step-for-a-model-in-agents-jl/125920 "2025-02-14T23:41:59Z")

</div>

I have created a continuous ABM model using Agents.jl, however, I wish to incorporate an Integrator from the DifferentialEquations.jl package to be used in the agent\_step!() function. Though I am having trouble in the im…

---

## [Another sorting algorithm](https://discourse.julialang.org/t/another-sorting-algorithm/125884)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 1\
**Last updated:** [February 14, 2025, 10:02pm UTC](https://discourse.julialang.org/t/another-sorting-algorithm/125884 "2025-02-14T22:02:53Z")

</div>

Julia has the base sort which has massive improved and also a couple of more experimental libraries including SortingAlgorithms.jl and SortingLab.jl. I saw a sorting algorithm on Hacker News today which genuinely sounds…

---

## [ForwardDiff + Adaptive ODE Solvers: Timestep Issue Leads to Incorrect Derivatives](https://discourse.julialang.org/t/forwarddiff-adaptive-ode-solvers-timestep-issue-leads-to-incorrect-derivatives/125870)

<div class="topic-metadata">

**Author:** [@abavoil](https://discourse.julialang.org/u/abavoil)\
**Replies:** 5\
**Last updated:** [February 14, 2025, 3:08pm UTC](https://discourse.julialang.org/t/forwarddiff-adaptive-ode-solvers-timestep-issue-leads-to-incorrect-derivatives/125870 "2025-02-14T15:08:36Z")

</div>

Hello dear Julia community, TLDR; Passing dual numbers (ForwardDiff.jl) into an adaptative-step ODE solver (OrdinaryDiffEq.jl) affects the timestep choice, making the derivative incorrect. Let’s say we have a function …

---

## [DimensionMismatch with MLJ](https://discourse.julialang.org/t/dimensionmismatch-with-mlj/125905)

<div class="topic-metadata">

**Author:** [@LucasMSpereira](https://discourse.julialang.org/u/LucasMSpereira)\
**Replies:** 0\
**Last updated:** [February 14, 2025, 1:17pm UTC](https://discourse.julialang.org/t/dimensionmismatch-with-mlj/125905 "2025-02-14T13:17:16Z")

</div>

I’m trying to use MultitargetLinearRegressor in MLJ.jl. This is the mwe: using MLJ, DataFrames multiLinReg = @load MultitargetLinearRegressor pkg = MultivariateStats # data inputs = DataFrame(rand(136, 11), :auto) prepa…

---

## [Some thoughts and questions on smooth non-linear optimization, degrees of freedom, optimizers, MLPs](https://discourse.julialang.org/t/some-thoughts-and-questions-on-smooth-non-linear-optimization-degrees-of-freedom-optimizers-mlps/125892)

<div class="topic-metadata">

**Author:** [@BdeKoning](https://discourse.julialang.org/u/BdeKoning)\
**Replies:** 0\
**Last updated:** [February 14, 2025, 7:02am UTC](https://discourse.julialang.org/t/some-thoughts-and-questions-on-smooth-non-linear-optimization-degrees-of-freedom-optimizers-mlps/125892 "2025-02-14T07:02:43Z")

</div>

Although I’d like to pose my thoughts and questions on a quite general group of optimization problems, my thoughts on these topics came from working on the following optimization problem: The second lens surface is a…

---

## [Terminate Nonlinearsolve when residual does not decrease](https://discourse.julialang.org/t/terminate-nonlinearsolve-when-residual-does-not-decrease/125732)

<div class="topic-metadata">

**Author:** [@pavaninguva](https://discourse.julialang.org/u/pavaninguva)\
**Replies:** 4\
**Last updated:** [February 13, 2025, 11:45pm UTC](https://discourse.julialang.org/t/terminate-nonlinearsolve-when-residual-does-not-decrease/125732 "2025-02-13T23:45:39Z")

</div>

Hi! I am trying to terminate the solution of a nonlinear equation system when the residual does not decrease with successive iterations. I have tried two approaches: Trying to access the residuals during each iteratio…

---

## [JuMP-dev 2025](https://discourse.julialang.org/t/jump-dev-2025/121176)

<div class="topic-metadata">

**Author:** [@odow](https://discourse.julialang.org/u/odow)\
**Replies:** 2\
**Last updated:** [February 13, 2025, 7:22pm UTC](https://discourse.julialang.org/t/jump-dev-2025/121176 "2025-02-13T19:22:02Z")

</div>

Dear all, We are pleased to announce that JuMP-dev 2025 will take place November 17-20, 2025 in Auckland, New Zealand. If you’ve ever wanted a conference excuse for a summer holiday in Aotearoa New Zealand, now is y…

---

## [Two years experience in biostatistics and data management for NCA using Julia](https://discourse.julialang.org/t/two-years-experience-in-biostatistics-and-data-management-for-nca-using-julia/96345)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 9\
**Last updated:** [February 13, 2025, 1:57pm UTC](https://discourse.julialang.org/t/two-years-experience-in-biostatistics-and-data-management-for-nca-using-julia/96345 "2025-02-13T13:57:08Z")

</div>

Hi! I’m working on bioequivalence and clinical trials and try to include Julia in my pipeline since 2 years. And now want to tell what problems I had and what problems exist now. Usually I used R project, IBM SPSS and …

---

## [OrdinaryDiffEq vcat to make du](https://discourse.julialang.org/t/ordinarydiffeq-vcat-to-make-du/125856)

<div class="topic-metadata">

**Author:** [@Sushrut\_Deshpande](https://discourse.julialang.org/u/Sushrut_Deshpande)\
**Replies:** 1\
**Last updated:** [February 13, 2025, 1:09pm UTC](https://discourse.julialang.org/t/ordinarydiffeq-vcat-to-make-du/125856 "2025-02-13T13:09:09Z")

</div>

Hello, In OrdinaryDiffEq.jl if we define the function as follows: function f(du,u,p,t) x1 = u\[1\] x2 = u\[2\] dx1 = x2 dx2 = -x1 du = vcat(dx1,dx2) return du end the ODE solver fails to solve corr…

---

## [Correct utilisation of CUDA kernel for simulations](https://discourse.julialang.org/t/correct-utilisation-of-cuda-kernel-for-simulations/109882)

<div class="topic-metadata">

**Author:** [@Ludovic\_Dumoulin](https://discourse.julialang.org/u/Ludovic_Dumoulin)\
**Replies:** 16\
**Last updated:** [February 13, 2025, 9:53am UTC](https://discourse.julialang.org/t/correct-utilisation-of-cuda-kernel-for-simulations/109882 "2025-02-13T09:53:24Z")

</div>

Hello, I am new to julia and GPU computing, before today I didn’t care about optimisation (it was fast enough for me). I use this kind of CUDA kernel (example for 2D diffusion using finite difference with euler forward…

[Previous page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=56)

[Next page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=58)
