# Specific Domains

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

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

**Page:** 139

---

## [Unable to test or use HIP libraries on Windows 10](https://discourse.julialang.org/t/unable-to-test-or-use-hip-libraries-on-windows-10/109639)

<div class="topic-metadata">

**Author:** [@mp59](https://discourse.julialang.org/u/mp59)\
**Replies:** 4\
**Last updated:** [February 2, 2024, 7:52pm UTC](https://discourse.julialang.org/t/unable-to-test-or-use-hip-libraries-on-windows-10/109639 "2024-02-02T19:52:39Z")

</div>

Hello, I am relatively new to Julia and very new to GPU programming. Recently I decided to use AMDGPU.jl, however, it does not seem like Julia can AMD’s HIP libraries, even though it recognizes that they are there. Here…

---

## [Converting GAMS to JuMP: Defining Sets](https://discourse.julialang.org/t/converting-gams-to-jump-defining-sets/108875)

<div class="topic-metadata">

**Author:** [@sati](https://discourse.julialang.org/u/sati)\
**Replies:** 8\
**Last updated:** [February 2, 2024, 2:14pm UTC](https://discourse.julialang.org/t/converting-gams-to-jump-defining-sets/108875 "2024-02-02T14:14:52Z")

</div>

Hi all, I want to convert GAMS script to JuMP, and I have problems dealing with the sets in GAMS. Here is the constraint in GAMS: eDemIR(d)… demIReal(d) + sum(l,line2dem(l,d)\*lineIReal(l)) =e= 0; l, d are sets in GAM…

---

## [Any equivalent of ggplot for phylogeny tree layouts?](https://discourse.julialang.org/t/any-equivalent-of-ggplot-for-phylogeny-tree-layouts/109611)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 1\
**Last updated:** [February 2, 2024, 10:56am UTC](https://discourse.julialang.org/t/any-equivalent-of-ggplot-for-phylogeny-tree-layouts/109611 "2024-02-02T10:56:27Z")

</div>

Hello, I am trying to plot a phylogeny tree with GraphMakie, I obtain decent results, but the branches can overlap and it looks not super great. I looked at NetworkLayout.jl, which provides layout algorithms for graphs,…

---

## [How to put bounds on Nelder-Mead in Optim?](https://discourse.julialang.org/t/how-to-put-bounds-on-nelder-mead-in-optim/58183)

<div class="topic-metadata">

**Author:** [@zxjroger](https://discourse.julialang.org/u/zxjroger)\
**Replies:** 25\
**Last updated:** [February 2, 2024, 6:03am UTC](https://discourse.julialang.org/t/how-to-put-bounds-on-nelder-mead-in-optim/58183 "2024-02-02T06:03:29Z")

</div>

I am confused about how to put bounds on parameters using Nelder-Mead in the Optim.jl package. I somehow remember Nelder-Mead should not be used with Fminbox, so I wonder if the following code is correct? Also, I notice …

---

## [Understanding \`Flux.Data.DataLoader\` when training an LSTM model](https://discourse.julialang.org/t/understanding-flux-data-dataloader-when-training-an-lstm-model/109581)

<div class="topic-metadata">

**Author:** [@Hugo](https://discourse.julialang.org/u/Hugo)\
**Replies:** 1\
**Last updated:** [February 2, 2024, 3:34am UTC](https://discourse.julialang.org/t/understanding-flux-data-dataloader-when-training-an-lstm-model/109581 "2024-02-02T03:34:36Z")

</div>

Hello, folks For a while I have been playing with Flux.jl to learn how to put together ML models, train them, and use them for predictive tasks. At the moment, I am stuck with the training stage of an LSTM model. Probl…

---

## [How does DifferentialEquations give a continuous curve for plotting?](https://discourse.julialang.org/t/how-does-differentialequations-give-a-continuous-curve-for-plotting/109588)

<div class="topic-metadata">

**Author:** [@MatheusJanczkowski](https://discourse.julialang.org/u/MatheusJanczkowski)\
**Replies:** 1\
**Last updated:** [February 1, 2024, 7:48pm UTC](https://discourse.julialang.org/t/how-does-differentialequations-give-a-continuous-curve-for-plotting/109588 "2024-02-01T19:48:03Z")

</div>

When I plot the solution given by some solver in DifferentialEquations, Tsit5 for instance, it gives a continuous curve (i.e., it has a lot of points). If I plot the points that the solver generated, however, they are ju…

---

## [Computing the Action of the Resolvent Operator (Stationary PDE)](https://discourse.julialang.org/t/computing-the-action-of-the-resolvent-operator-stationary-pde/109585)

<div class="topic-metadata">

**Author:** [@DrPapa](https://discourse.julialang.org/u/DrPapa)\
**Replies:** 0\
**Last updated:** [February 1, 2024, 5:17pm UTC](https://discourse.julialang.org/t/computing-the-action-of-the-resolvent-operator-stationary-pde/109585 "2024-02-01T17:17:09Z")

</div>

I am interested in computing the action of the resolvent operator R\_A = \\left(zI-A\\right)^{-1} at a range of z\\in\\mathbb{C}, where Ag= F\\cdot\\nabla g, and F:\\mathbb{R}^n\\rightarrow\\mathbb{R}^n Neumman boundary con…

---

## [Contour lines on a mesh?](https://discourse.julialang.org/t/contour-lines-on-a-mesh/109528)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 0\
**Last updated:** [January 31, 2024, 5:41pm UTC](https://discourse.julialang.org/t/contour-lines-on-a-mesh/109528 "2024-01-31T17:41:03Z")

</div>

Hi all, would anyone know if there is a way to plot contour lines on a Makie mesh ? Something like contour3d · Makie, but more general. With the application I have contour3d errors on Found duplicate x/y coordinates so…

---

## [Keyboard shortcut to reset zoom and pan on a Makie plot](https://discourse.julialang.org/t/keyboard-shortcut-to-reset-zoom-and-pan-on-a-makie-plot/76876)

<div class="topic-metadata">

**Author:** [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Replies:** 6\
**Last updated:** [February 1, 2024, 1:53pm UTC](https://discourse.julialang.org/t/keyboard-shortcut-to-reset-zoom-and-pan-on-a-makie-plot/76876 "2024-02-01T13:53:59Z")

</div>

Is there a keyboard shortcut to reset the zoom and pan on a Makie plot?

---

## [Makie - How to insert an Axis3 into a scene so that zooming on a plot is possible?](https://discourse.julialang.org/t/makie-how-to-insert-an-axis3-into-a-scene-so-that-zooming-on-a-plot-is-possible/78584)

<div class="topic-metadata">

**Author:** [@Bob\_Bass](https://discourse.julialang.org/u/Bob_Bass)\
**Replies:** 8\
**Last updated:** [February 1, 2024, 1:33pm UTC](https://discourse.julialang.org/t/makie-how-to-insert-an-axis3-into-a-scene-so-that-zooming-on-a-plot-is-possible/78584 "2024-02-01T13:33:48Z")

</div>

Hi! I can make a basic scene that lets me pan and zoom the way I want to like so: using GLMakie scene = Scene() cam3d!(scene; rotation\_center=:lookat, projectiontype = :Orthographic, fixed\_axis=:false, zoom\_shift\_look…

---

## [How to actually take hessian in Zygote](https://discourse.julialang.org/t/how-to-actually-take-hessian-in-zygote/109531)

<div class="topic-metadata">

**Author:** [@KapilKhanal](https://discourse.julialang.org/u/KapilKhanal)\
**Replies:** 1\
**Last updated:** [February 1, 2024, 9:01am UTC](https://discourse.julialang.org/t/how-to-actually-take-hessian-in-zygote/109531 "2024-02-01T09:01:42Z")

</div>

for a simple function like this, why can’t hessian(((a, b),) -\> a\[1\]\*b\[2\] + a\[2\]\*b\[1\], \[\[2,1\], \[3,4\]\]) It throws BoundsError: attempt to access ForwardDiff.Dual{Nothing, Any, 2} at index \[2\] biut for hessian(((a, b,c…

---

## [Julia 1.10 and Ensemble Summary command error](https://discourse.julialang.org/t/julia-1-10-and-ensemble-summary-command-error/109482)

<div class="topic-metadata">

**Author:** [@Nick1](https://discourse.julialang.org/u/Nick1)\
**Replies:** 5\
**Last updated:** [February 1, 2024, 3:24am UTC](https://discourse.julialang.org/t/julia-1-10-and-ensemble-summary-command-error/109482 "2024-02-01T03:24:09Z")

</div>

I updated to Julia 1.10 and was checking my past codes. Everything works fine, except for the EnsembleSummary function. I get the following error: ERROR: type NamedTuple has no field u The previous Julia version was …

---

## [Sparse constraints with COSMO.jl](https://discourse.julialang.org/t/sparse-constraints-with-cosmo-jl/109537)

<div class="topic-metadata">

**Author:** [@fimiller](https://discourse.julialang.org/u/fimiller)\
**Replies:** 3\
**Last updated:** [February 1, 2024, 2:38am UTC](https://discourse.julialang.org/t/sparse-constraints-with-cosmo-jl/109537 "2024-02-01T02:38:48Z")

</div>

I am looking to solve a very large but sparse optimization problem using COSMO.jl. When creating my constraint set COSMO.Constraint(sparse(stack(A\_i\_vecs)), sparsevec(p.B), COSMO.PsdCone) where A = sparse(stack(A\_i\_vec…

---

## [Solving ODEdifferential equations where each time point is in triplicate](https://discourse.julialang.org/t/solving-odedifferential-equations-where-each-time-point-is-in-triplicate/109466)

<div class="topic-metadata">

**Author:** [@adelpinoherrera](https://discourse.julialang.org/u/adelpinoherrera)\
**Replies:** 1\
**Last updated:** [February 1, 2024, 1:54am UTC](https://discourse.julialang.org/t/solving-odedifferential-equations-where-each-time-point-is-in-triplicate/109466 "2024-02-01T01:54:04Z")

</div>

I want to be able to calculate the exponential growth rate of some experimental data collected everyday for 11 days in triplicate. The experimental data can be set up in any way but I have cell counts of every day for 11…

---

## [GLMakie Runtime Error](https://discourse.julialang.org/t/glmakie-runtime-error/109543)

<div class="topic-metadata">

**Author:** [@Mahnoor\_Pop](https://discourse.julialang.org/u/Mahnoor_Pop)\
**Replies:** 0\
**Last updated:** [February 1, 2024, 12:38am UTC](https://discourse.julialang.org/t/glmakie-runtime-error/109543 "2024-02-01T00:38:53Z")

</div>

Hi all! I’ve created a program using GLMakie that uses sliders and buttons. Everything works when I run the script, though sometimes it can be a little laggy (I presume because I’m generating a new trajectory for a dynam…

---

## [Optimization.jl interface for Turing models](https://discourse.julialang.org/t/optimization-jl-interface-for-turing-models/107473)

<div class="topic-metadata">

**Author:** [@ElOceanografo](https://discourse.julialang.org/u/ElOceanografo)\
**Replies:** 5\
**Last updated:** [February 1, 2024, 12:06am UTC](https://discourse.julialang.org/t/optimization-jl-interface-for-turing-models/107473 "2024-02-01T00:06:28Z")

</div>

I feel like I’ve seen an example somewhere of how to construct an Optimization.OptimizationFunction from a Turing model, but am not finding it at the moment. Can anyone help me find it? Did I imagine this functionality? …

---

## [Callback: solver independent or dependent](https://discourse.julialang.org/t/callback-solver-independent-or-dependent/109423)

<div class="topic-metadata">

**Author:** [@martina.gherardi](https://discourse.julialang.org/u/martina.gherardi)\
**Replies:** 8\
**Last updated:** [January 31, 2024, 7:46pm UTC](https://discourse.julialang.org/t/callback-solver-independent-or-dependent/109423 "2024-01-31T19:46:59Z")

</div>

Hi, I’m currently diving into my first experience with callbacks and have a few doubts that I hope you can help clarify. The goal is to implement callbacks that add user cuts to the root node (or subsequent nodes) base…

---

## [Efficient computation of statistics across multiple data frames](https://discourse.julialang.org/t/efficient-computation-of-statistics-across-multiple-data-frames/109471)

<div class="topic-metadata">

**Author:** [@alex-s-gardner](https://discourse.julialang.org/u/alex-s-gardner)\
**Replies:** 9\
**Last updated:** [January 31, 2024, 6:55pm UTC](https://discourse.julialang.org/t/efficient-computation-of-statistics-across-multiple-data-frames/109471 "2024-01-31T18:55:54Z")

</div>

I have a vector collection of DataFrames that have the same number of rows and same column names and I would like to compute statistics across all data frames to arrive at a data frame that is the same size as a single d…

---

## [Current State of LP solvers supporting warmstart (start values) in JuMP](https://discourse.julialang.org/t/current-state-of-lp-solvers-supporting-warmstart-start-values-in-jump/109160)

<div class="topic-metadata">

**Author:** [@BenniHs](https://discourse.julialang.org/u/BenniHs)\
**Replies:** 2\
**Last updated:** [January 31, 2024, 4:45pm UTC](https://discourse.julialang.org/t/current-state-of-lp-solvers-supporting-warmstart-start-values-in-jump/109160 "2024-01-31T16:45:46Z")

</div>

Hi everyone, I have a rather general question on JuMP and LP-Solvers. I am working on an algorithm, where many LPs have to be solved. I want to solve them using the JuMP Framework. There appears to be a lot of potential…

---

## [Autodiff removing singularity](https://discourse.julialang.org/t/autodiff-removing-singularity/109498)

<div class="topic-metadata">

**Author:** [@weymouth](https://discourse.julialang.org/u/weymouth)\
**Replies:** 5\
**Last updated:** [January 31, 2024, 2:46pm UTC](https://discourse.julialang.org/t/autodiff-removing-singularity/109498 "2024-01-31T14:46:31Z")

</div>

I have a function whose derivative isn’t defined at the origin, but is known ahead of time when approaching from x\>0, which is the limit I want. How can I add a special case to the ForwardDiff dual such that it uses this…

---

## [Resolving Julia Warning: dt(2.27e-13) \<= dtmin(2.27e-13) in implementation of dual numbers](https://discourse.julialang.org/t/resolving-julia-warning-dt-2-27e-13-dtmin-2-27e-13-in-implementation-of-dual-numbers/109390)

<div class="topic-metadata">

**Author:** [@vivekag7](https://discourse.julialang.org/u/vivekag7)\
**Replies:** 4\
**Last updated:** [January 31, 2024, 1:56pm UTC](https://discourse.julialang.org/t/resolving-julia-warning-dt-2-27e-13-dtmin-2-27e-13-in-implementation-of-dual-numbers/109390 "2024-01-31T13:56:24Z")

</div>

Hi Julia Community, I’ve been trying to make a glacier SIA2D forward model compatible with dual numbers using PreallocationTools.jl, however I run into the following warning using the solver RDPK3Sp35: ┌ Warning: dt(2.…

---

## [Image Rotation Algorithm for CUDA and Zygote](https://discourse.julialang.org/t/image-rotation-algorithm-for-cuda-and-zygote/54085)

<div class="topic-metadata">

**Author:** [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)\
**Replies:** 10\
**Last updated:** [January 31, 2024, 12:29pm UTC](https://discourse.julialang.org/t/image-rotation-algorithm-for-cuda-and-zygote/54085 "2024-01-31T12:29:43Z")

</div>

Hey, today I wanted to use a image rotation algorithm to rotate a 3D array around one dimension (so basically many 2D images). For my applications it needs to be fast and also fully differentiable by Zygote. I tried I…

---

## [FinETools Assemby Multiple Dispatch Include Integral Term](https://discourse.julialang.org/t/finetools-assemby-multiple-dispatch-include-integral-term/109502)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 0\
**Last updated:** [January 31, 2024, 8:34am UTC](https://discourse.julialang.org/t/finetools-assemby-multiple-dispatch-include-integral-term/109502 "2024-01-31T08:34:15Z")

</div>

Question: does FinETools allow to extend the assembly with a method that during assembly prints e.g. element id? Motivating this question is understanding better how “flexible” / “extensible” FenETools is solve integro-…

---

## [Help with Performance in Large Mixed Complementarity Problem](https://discourse.julialang.org/t/help-with-performance-in-large-mixed-complementarity-problem/106052)

<div class="topic-metadata">

**Author:** [@jmc](https://discourse.julialang.org/u/jmc)\
**Replies:** 23\
**Last updated:** [January 31, 2024, 1:56am UTC](https://discourse.julialang.org/t/help-with-performance-in-large-mixed-complementarity-problem/106052 "2024-01-31T01:56:05Z")

</div>

Hi! I have a complementarity problem in which I am using the new awesome additions to JuMP to solve it. The problem involves a summation over 2^J terms, where J is around 30 and performance is critical. I was wondering…

---

## [Time normalisation results in \`nothing\` gradients of ODE solutions](https://discourse.julialang.org/t/time-normalisation-results-in-nothing-gradients-of-ode-solutions/109353)

<div class="topic-metadata">

**Author:** [@ablaom](https://discourse.julialang.org/u/ablaom)\
**Replies:** 5\
**Last updated:** [January 30, 2024, 11:22pm UTC](https://discourse.julialang.org/t/time-normalisation-results-in-nothing-gradients-of-ode-solutions/109353 "2024-01-30T23:22:04Z")

</div>

The following defines the simple one-dimensional ode dx\_dt = -ωx, and a function x(ω, t) to solve it. Fixing t=T, I can readily differentiate x(ω, t) with respect to ω: using DifferentialEquations using SciMLSensitivity…

---

## [Historical simulation in SDDP.jl](https://discourse.julialang.org/t/historical-simulation-in-sddp-jl/109473)

<div class="topic-metadata">

**Author:** [@Sorooshsa](https://discourse.julialang.org/u/Sorooshsa)\
**Replies:** 3\
**Last updated:** [January 30, 2024, 10:01pm UTC](https://discourse.julialang.org/t/historical-simulation-in-sddp-jl/109473 "2024-01-30T22:01:33Z")

</div>

Hi, I did simulation in SDDP.jl using historical data. It works; however, I could not retrieve the optimal solutions anymore by simply putting \[:variable\] as an argument in SDDP.simulate. What should we do in historica…

---

## [Will unprecised float printing affect my optimization solving time?](https://discourse.julialang.org/t/will-unprecised-float-printing-affect-my-optimization-solving-time/109456)

<div class="topic-metadata">

**Author:** [@K5Julien](https://discourse.julialang.org/u/K5Julien)\
**Replies:** 2\
**Last updated:** [January 30, 2024, 8:04pm UTC](https://discourse.julialang.org/t/will-unprecised-float-printing-affect-my-optimization-solving-time/109456 "2024-01-30T20:04:26Z")

</div>

I have a JuMP model and when I show my objective function, i.e.: @show objective\_function(model) objective\_function(model) = -0.17258400000000138 x\[1,1\] - 0.03807000000000031 x\[2,1\] - 0.07106400000000057 x\[3,1\] - 0.073…

---

## [Issues with Convergence in Differential Equation Solver Using Dual Numbers](https://discourse.julialang.org/t/issues-with-convergence-in-differential-equation-solver-using-dual-numbers/108871)

<div class="topic-metadata">

**Author:** [@vivekag7](https://discourse.julialang.org/u/vivekag7)\
**Replies:** 7\
**Last updated:** [January 30, 2024, 5:32pm UTC](https://discourse.julialang.org/t/issues-with-convergence-in-differential-equation-solver-using-dual-numbers/108871 "2024-01-30T17:32:10Z")

</div>

Hello Julia Community, I’m currently working on a differential equation problem related to ice flow modeling and encountering some issues with convergence when using Dual numbers. The problem converges as expected with F…

---

## [How to implement Lyons’ Differentiator](https://discourse.julialang.org/t/how-to-implement-lyons-differentiator/109438)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 5\
**Last updated:** [January 30, 2024, 5:28pm UTC](https://discourse.julialang.org/t/how-to-implement-lyons-differentiator/109438 "2024-01-30T17:28:19Z")

</div>

Hello, I am trying to implement a discrete time differentiator, Lyons’ Differentiator type two, see: Design of a Discrete-Time Differentiator | Wireless Pi It has five coefficients. How would you implement that? This …

---

## [Improving model formulation](https://discourse.julialang.org/t/improving-model-formulation/109252)

<div class="topic-metadata">

**Author:** [@Lemma](https://discourse.julialang.org/u/Lemma)\
**Replies:** 10\
**Last updated:** [January 30, 2024, 11:14am UTC](https://discourse.julialang.org/t/improving-model-formulation/109252 "2024-01-30T11:14:30Z")

</div>

I’m currently working on a sales optimization problem using JuMP in Julia. The challenge involves representing the total sales value under specific constraints. However, my current approach leads to bilinear terms, which…

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

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