# Specific Domains

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

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

**Page:** 308

---

## [Julia as a neural interpreter? Could this be a game-change for Julia and ML/AI?](https://discourse.julialang.org/t/julia-as-a-neural-interpreter-could-this-be-a-game-change-for-julia-and-ml-ai/75386)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 0\
**Last updated:** [January 28, 2022, 5:56pm UTC](https://discourse.julialang.org/t/julia-as-a-neural-interpreter-could-this-be-a-game-change-for-julia-and-ml-ai/75386 "2022-01-28T17:56:07Z")

</div>

I’ve sometimes posted ML stuff I find intriguing to offtopic. This seems relevant enough to post here. @ChrisRackauckas claims Julia doesn’t have an advantage for “standard” ML (unlike SciML). This may not be “standard”…

---

## [GLMakie heatmap vs. heatmap!](https://discourse.julialang.org/t/glmakie-heatmap-vs-heatmap/75378)

<div class="topic-metadata">

**Author:** [@peremato](https://discourse.julialang.org/u/peremato)\
**Replies:** 1\
**Last updated:** [January 28, 2022, 4:50pm UTC](https://discourse.julialang.org/t/glmakie-heatmap-vs-heatmap/75378 "2022-01-28T16:50:25Z")

</div>

In GLMakie I need a layout with several heatmaps. If I use heatmap works as expected (2D plot), however using heatmap! produces a 3D plot of the heatmap. Here is reproducer with a single heatmap. using GLMakie data = \[ …

---

## [How to delete a Gurobi logfile](https://discourse.julialang.org/t/how-to-delete-a-gurobi-logfile/75292)

<div class="topic-metadata">

**Author:** [@sebastian\_22](https://discourse.julialang.org/u/sebastian_22)\
**Replies:** 2\
**Last updated:** [January 28, 2022, 7:42am UTC](https://discourse.julialang.org/t/how-to-delete-a-gurobi-logfile/75292 "2022-01-28T07:42:46Z")

</div>

I have a model which runs multiple times with different input data. For each run I create a folder and place the Gurobi-Logfile within, by passing the Logfile-parameter to the optimizer after creating the model. After t…

---

## [\[JSON3\] Order of the fields](https://discourse.julialang.org/t/json3-order-of-the-fields/75331)

<div class="topic-metadata">

**Author:** [@whatsthecraic](https://discourse.julialang.org/u/whatsthecraic)\
**Replies:** 3\
**Last updated:** [January 28, 2022, 3:31am UTC](https://discourse.julialang.org/t/json3-order-of-the-fields/75331 "2022-01-28T03:31:33Z")

</div>

Hi, is there a way to specify the order of the fields when writing with JSON3. E.g. in julia 1.7, JSON3.pretty(Dict("a" =\> 1, "b" =\> 2, "c" =\> 3, "d" =\> 4)) yields { "c": 3, "b": 2, "a": 1, "d": 4 } while…

---

## [LoadError: MethodError: no method matching Float64(::ForwardDiff.Dual{ForwardDiff.Tag{OrdinaryDiffEq.OrdinaryDiffEqTag, Float64}, Float64, 11})](https://discourse.julialang.org/t/loaderror-methoderror-no-method-matching-float64-forwarddiff-dual-forwarddiff-tag-ordinarydiffeq-ordinarydiffeqtag-float64-float64-11/75295)

<div class="topic-metadata">

**Author:** [@fdc](https://discourse.julialang.org/u/fdc)\
**Replies:** 2\
**Last updated:** [January 27, 2022, 11:42pm UTC](https://discourse.julialang.org/t/loaderror-methoderror-no-method-matching-float64-forwarddiff-dual-forwarddiff-tag-ordinarydiffeq-ordinarydiffeqtag-float64-float64-11/75295 "2022-01-27T23:42:43Z")

</div>

Hi, I’m trying to solve a relatively large system of ODE with some constraints (hence DAE) using the manifold projection method provided by Julia. My model contains some aerodynamics with large angles that means I could…

---

## [Function overloading instead of dot syntax](https://discourse.julialang.org/t/function-overloading-instead-of-dot-syntax/75321)

<div class="topic-metadata">

**Author:** [@Leticia-maria](https://discourse.julialang.org/u/Leticia-maria)\
**Replies:** 2\
**Last updated:** [January 27, 2022, 9:07pm UTC](https://discourse.julialang.org/t/function-overloading-instead-of-dot-syntax/75321 "2022-01-27T21:07:58Z")

</div>

Hey, i have created this function and I would like to overload the last function (vdw\_radius) instead of using .@ macro. Any help? ​\_vdw\_radius\_crc ​=​ \[ ​ ​110.0​, ​ ​140.0​, ​ ​182.0​, ​ ​153.0​, …

---

## [Calculating a line of bearing between two LLAs](https://discourse.julialang.org/t/calculating-a-line-of-bearing-between-two-llas/75244)

<div class="topic-metadata">

**Author:** [@devin](https://discourse.julialang.org/u/devin)\
**Replies:** 4\
**Last updated:** [January 27, 2022, 7:56pm UTC](https://discourse.julialang.org/t/calculating-a-line-of-bearing-between-two-llas/75244 "2022-01-27T19:56:33Z")

</div>

Hi, I’ve got two lat/lon/alt locations and I’d like to compute the line of bearing between them (az/el). Is there a way to do this using geodesy.jl? I’ve looked around and found GreatCircle.jl, geodesics.jl and LibGeo…

---

## [Computing QR decomposition many times in parallel](https://discourse.julialang.org/t/computing-qr-decomposition-many-times-in-parallel/75241)

<div class="topic-metadata">

**Author:** [@coviktor](https://discourse.julialang.org/u/coviktor)\
**Replies:** 2\
**Last updated:** [January 27, 2022, 4:53pm UTC](https://discourse.julialang.org/t/computing-qr-decomposition-many-times-in-parallel/75241 "2022-01-27T16:53:49Z")

</div>

I’m new to GPU programming and don’t understand many details. Let’s say I have 2 matrices A1 = CUDA.rand(1000,1000) A2 = CUDA.rand(1000,1000) and I would like to compute their QR decompositions on GPU in parallel (usin…

---

## [Window like functions in DataFrames](https://discourse.julialang.org/t/window-like-functions-in-dataframes/7891)

<div class="topic-metadata">

**Author:** [@Skoffer](https://discourse.julialang.org/u/Skoffer)\
**Replies:** 10\
**Last updated:** [January 27, 2022, 3:50pm UTC](https://discourse.julialang.org/t/window-like-functions-in-dataframes/7891 "2022-01-27T15:50:38Z")

</div>

I wonder, what is the best way to apply window functions to DataFrames? In simplest case, window functions is a sort of aggregating functions that don’t change number of rows of original dataframe and only adds some new …

---

## [Music packages](https://discourse.julialang.org/t/music-packages/75261)

<div class="topic-metadata">

**Author:** [@Erasmo98](https://discourse.julialang.org/u/Erasmo98)\
**Replies:** 3\
**Last updated:** [January 27, 2022, 4:14am UTC](https://discourse.julialang.org/t/music-packages/75261 "2022-01-27T04:14:19Z")

</div>

Hey there. I haven’t used Julia for a while. I remember that there are several packages for doing different things related to music. I’d like to explore those packages but I don’t remember which were. Making a quick sear…

---

## [How to plot curve over surface with Plots.jl?](https://discourse.julialang.org/t/how-to-plot-curve-over-surface-with-plots-jl/72498)

<div class="topic-metadata">

**Author:** [@giancarloantonucci](https://discourse.julialang.org/u/giancarloantonucci)\
**Replies:** 5\
**Last updated:** [January 27, 2022, 3:54am UTC](https://discourse.julialang.org/t/how-to-plot-curve-over-surface-with-plots-jl/72498 "2022-01-27T03:54:02Z")

</div>

I have written some code to generate a gif for the double pendulum problem: # In another code not shown here, I've: # - computed solution of double pendulum problem # - extracted independent variables θ₁, θ₂ from soluti…

---

## [Solving Matrix vector problem](https://discourse.julialang.org/t/solving-matrix-vector-problem/75259)

<div class="topic-metadata">

**Author:** [@longemen3000](https://discourse.julialang.org/u/longemen3000)\
**Replies:** 6\
**Last updated:** [January 26, 2022, 11:41pm UTC](https://discourse.julialang.org/t/solving-matrix-vector-problem/75259 "2022-01-26T23:41:09Z")

</div>

Hi!, im trying to solve for x ∈ R^n the following equation: A\*x .\* x .+ x .-1 .= 0 or in matrix form: Diagonal(A\*x)\*x + x - ones(n) = zeros(n) One way to solve this is by using succesive substitution with the follow…

---

## [Weird Behaviour/Bug in Polyhedra.jl](https://discourse.julialang.org/t/weird-behaviour-bug-in-polyhedra-jl/74168)

<div class="topic-metadata">

**Author:** [@Codzilla](https://discourse.julialang.org/u/Codzilla)\
**Replies:** 1\
**Last updated:** [January 27, 2022, 1:27am UTC](https://discourse.julialang.org/t/weird-behaviour-bug-in-polyhedra-jl/74168 "2022-01-27T01:27:44Z")

</div>

I observed a strange behaviour with Polyhedra.jl. As a result of a rather complicated algorithm, I obtained a polyhedron as an intersection of half-planes. However, when I want to compute the vertices forming the complex…

---

## [MOI.Test.Config optimal\_status OPTIMAL or LOCALLY\_SOLVED?](https://discourse.julialang.org/t/moi-test-config-optimal-status-optimal-or-locally-solved/75227)

<div class="topic-metadata">

**Author:** [@renke.kuhlmann](https://discourse.julialang.org/u/renke.kuhlmann)\
**Replies:** 2\
**Last updated:** [January 26, 2022, 8:02pm UTC](https://discourse.julialang.org/t/moi-test-config-optimal-status-optimal-or-locally-solved/75227 "2022-01-26T20:02:05Z")

</div>

Is there a way to simply accept both optimal\_status OPTIMAL and LOCALLY\_SOLVED in MOI.Test.Config? For GAMS.jl I can’t really decide this, because it depends on what solver GAMS internally chooses. Would be great if I wo…

---

## [Hyperparameters to tune/try when getting ITERATION\_LIMIT, NUMERICAL\_ERROR for nonlinear optimization](https://discourse.julialang.org/t/hyperparameters-to-tune-try-when-getting-iteration-limit-numerical-error-for-nonlinear-optimization/75232)

<div class="topic-metadata">

**Author:** [@Kevin\_Shen1](https://discourse.julialang.org/u/Kevin_Shen1)\
**Replies:** 3\
**Last updated:** [January 26, 2022, 7:48pm UTC](https://discourse.julialang.org/t/hyperparameters-to-tune-try-when-getting-iteration-limit-numerical-error-for-nonlinear-optimization/75232 "2022-01-26T19:48:29Z")

</div>

Generally what hyperparameters should one try when getting the above two exit codes? I tried increasing max\_iter to 10,000 which noticeably slowed down the optimization but I’m still getting ITERATION\_LIMIT. One thing I’…

---

## [Getting correct namespacing of subsystems in ModelingToolkit.jl](https://discourse.julialang.org/t/getting-correct-namespacing-of-subsystems-in-modelingtoolkit-jl/75189)

<div class="topic-metadata">

**Author:** [@Antomek](https://discourse.julialang.org/u/Antomek)\
**Replies:** 1\
**Last updated:** [January 26, 2022, 4:54pm UTC](https://discourse.julialang.org/t/getting-correct-namespacing-of-subsystems-in-modelingtoolkit-jl/75189 "2022-01-26T16:54:06Z")

</div>

Hello, I really like ModelingToolkit, but I am running into some issues I hope someone can help me with. My usecase is building lots of similar / identical systems, and connecting them in a specific way (where maybe th…

---

## [\[Gtk.jl\] Stuck with GtkTreeView generated with Glade](https://discourse.julialang.org/t/gtk-jl-stuck-with-gtktreeview-generated-with-glade/56328)

<div class="topic-metadata">

**Author:** [@Azzaare](https://discourse.julialang.org/u/Azzaare)\
**Replies:** 3\
**Last updated:** [January 26, 2022, 4:23pm UTC](https://discourse.julialang.org/t/gtk-jl-stuck-with-gtktreeview-generated-with-glade/56328 "2022-01-26T16:23:37Z")

</div>

Hi there, I have started a Gtk.jl project with a base layout generated by Glade. I struggle with assigning a GtkTreeModel to a Glade generated GtkTreeView Even though I could generate the TreeView manually, I feel I a…

---

## [NeuralPDE to simulate Burguer 1D - not a satisfactorial solution](https://discourse.julialang.org/t/neuralpde-to-simulate-burguer-1d-not-a-satisfactorial-solution/75229)

<div class="topic-metadata">

**Author:** [@BuddhiLW](https://discourse.julialang.org/u/BuddhiLW)\
**Replies:** 6\
**Last updated:** [January 26, 2022, 1:56pm UTC](https://discourse.julialang.org/t/neuralpde-to-simulate-burguer-1d-not-a-satisfactorial-solution/75229 "2022-01-26T13:56:02Z")

</div>

I’m writting a research in which I heavily used NeuralPDE.jl, and I would like to showcase solution vs analytical, or classical simulations vs provided by the package. In one of these instances, I’m getting an answer I …

---

## [Problem using \`\`\`lyapunov spectrum\`\`\`](https://discourse.julialang.org/t/problem-using-lyapunov-spectrum/75224)

<div class="topic-metadata">

**Author:** [@pafloxy](https://discourse.julialang.org/u/pafloxy)\
**Replies:** 7\
**Last updated:** [January 26, 2022, 1:25pm UTC](https://discourse.julialang.org/t/problem-using-lyapunov-spectrum/75224 "2022-01-26T13:25:40Z")

</div>

the follwing code cannot recognise the lyapunovspectrum function. lyapunovspectrum(ds\_3, 10 ; Ttr= 10.00) Can anyone point out the problem here ?

---

## [Identifying variables in GAMS.jl errors (how do I look up JuMP variables from auto-generated name x..)](https://discourse.julialang.org/t/identifying-variables-in-gams-jl-errors-how-do-i-look-up-jump-variables-from-auto-generated-name-x/74851)

<div class="topic-metadata">

**Author:** [@MartinBonde](https://discourse.julialang.org/u/MartinBonde)\
**Replies:** 3\
**Last updated:** [January 26, 2022, 12:55pm UTC](https://discourse.julialang.org/t/identifying-variables-in-gams-jl-errors-how-do-i-look-up-jump-variables-from-auto-generated-name-x/74851 "2022-01-26T12:55:19Z")

</div>

I am sending a JuMP model to a GAMS solver using GAMS.jl and get an error/warning: \*\* Error in Square System: A variable tries to exceed its bound. This is perfectly familiar and I get more information by looking in th…

---

## [HDF5 collective read using MPI goes out of memory, but write works perfectly](https://discourse.julialang.org/t/hdf5-collective-read-using-mpi-goes-out-of-memory-but-write-works-perfectly/75158)

<div class="topic-metadata">

**Author:** [@Chiil](https://discourse.julialang.org/u/Chiil)\
**Replies:** 9\
**Last updated:** [January 26, 2022, 10:23am UTC](https://discourse.julialang.org/t/hdf5-collective-read-using-mpi-goes-out-of-memory-but-write-works-perfectly/75158 "2022-01-26T10:23:51Z")

</div>

I have a test script that uses parallel HDF5 for reading and writing. I am testing this on a node of our cluster with ample memory available, yet the read goes out of memory. Interestingly, the write allocates only ~200…

---

## [How to use ForwardDiff with CuArrays](https://discourse.julialang.org/t/how-to-use-forwarddiff-with-cuarrays/39542)

<div class="topic-metadata">

**Author:** [@clinton](https://discourse.julialang.org/u/clinton)\
**Replies:** 11\
**Last updated:** [January 26, 2022, 3:55am UTC](https://discourse.julialang.org/t/how-to-use-forwarddiff-with-cuarrays/39542 "2022-01-26T03:55:13Z")

</div>

I want to use CuArrays to accelerate a Jacobian calculation for a function \\Re^m \\mapsto \\Re^n where n\>\>m, which seems like a pretty good use case for ForwardDiff. I saw some usage of ForwardDiff in the tests for CuArray…

---

## [Flight Dynamic Models](https://discourse.julialang.org/t/flight-dynamic-models/31455)

<div class="topic-metadata">

**Author:** [@tog](https://discourse.julialang.org/u/tog)\
**Replies:** 15\
**Last updated:** [January 26, 2022, 3:29am UTC](https://discourse.julialang.org/t/flight-dynamic-models/31455 "2022-01-26T03:29:17Z")

</div>

Hi All I am discovering the Julia community after a presentation from a colleagues and it looks amazing. I discovered that there exist a Satellite Toolbox. Is there already an initiative for building a flight dynamics…

---

## [How to reference JuMP constraint from solver index?](https://discourse.julialang.org/t/how-to-reference-jump-constraint-from-solver-index/57865)

<div class="topic-metadata">

**Author:** [@claytonpbarrows](https://discourse.julialang.org/u/claytonpbarrows)\
**Replies:** 6\
**Last updated:** [January 25, 2022, 10:29pm UTC](https://discourse.julialang.org/t/how-to-reference-jump-constraint-from-solver-index/57865 "2022-01-25T22:29:35Z")

</div>

Some solvers will indicate the constraints causing infeasibilities (e.g. Gurobi, Xpress, …) like this: User MIP start violates constraint R33048 by 0.493000000 Is there a way to retrieve the JuMP constraint ref corresp…

---

## [Undetected numerical issues with GLPK](https://discourse.julialang.org/t/undetected-numerical-issues-with-glpk/75196)

<div class="topic-metadata">

**Author:** [@sstroemer](https://discourse.julialang.org/u/sstroemer)\
**Replies:** 1\
**Last updated:** [January 25, 2022, 9:48pm UTC](https://discourse.julialang.org/t/undetected-numerical-issues-with-glpk/75196 "2022-01-25T21:48:32Z")

</div>

I’ve ran across an issue in some unit tests (of a JuMP model), that were hard to track down. Those are only using GLPK since that is easy to integrate into the testing. I noticed that models with numerical issues seem to…

---

## [How to pass colors from xcolor in pgfplotsx?](https://discourse.julialang.org/t/how-to-pass-colors-from-xcolor-in-pgfplotsx/75190)

<div class="topic-metadata">

**Author:** [@ccmejia](https://discourse.julialang.org/u/ccmejia)\
**Replies:** 1\
**Last updated:** [January 25, 2022, 9:42pm UTC](https://discourse.julialang.org/t/how-to-pass-colors-from-xcolor-in-pgfplotsx/75190 "2022-01-25T21:42:07Z")

</div>

Hi there, I am trying to pass color name from xcolor latex package, for example the “NavyBlue” color. However, it seems that “NavyBlue” or any other “special” color is not recognized: Package xcolor Error: Undefined col…

---

## [JuMP nonlinear optimization constraints broken to O(1e-9)](https://discourse.julialang.org/t/jump-nonlinear-optimization-constraints-broken-to-o-1e-9/75182)

<div class="topic-metadata">

**Author:** [@Kevin\_Shen1](https://discourse.julialang.org/u/Kevin_Shen1)\
**Replies:** 7\
**Last updated:** [January 25, 2022, 7:51pm UTC](https://discourse.julialang.org/t/jump-nonlinear-optimization-constraints-broken-to-o-1e-9/75182 "2022-01-25T19:51:51Z")

</div>

I’m running nonlinear optimization using the Ipopt optimizer. My objective/cost function relies on the constraints being adhered to strictly. However on some iterations the constraint are being broken. Specifically, my …

---

## [Backpropagating through orthogonal projection operator](https://discourse.julialang.org/t/backpropagating-through-orthogonal-projection-operator/63083)

<div class="topic-metadata">

**Author:** [@rkube](https://discourse.julialang.org/u/rkube)\
**Replies:** 2\
**Last updated:** [January 25, 2022, 5:32pm UTC](https://discourse.julialang.org/t/backpropagating-through-orthogonal-projection-operator/63083 "2022-01-25T17:32:34Z")

</div>

Hi, I have a neural network whose loss functions requires to calculate orthogonal projections onto the output of the network. The code runs fine on the CPU, albeit slow. Porting it to the GPU is difficult and I’m stuck.…

---

## [Makie.jl - How can I have a label on top of an image plot?](https://discourse.julialang.org/t/makie-jl-how-can-i-have-a-label-on-top-of-an-image-plot/74536)

<div class="topic-metadata">

**Author:** [@klafyvel](https://discourse.julialang.org/u/klafyvel)\
**Replies:** 2\
**Last updated:** [January 25, 2022, 4:39pm UTC](https://discourse.julialang.org/t/makie-jl-how-can-i-have-a-label-on-top-of-an-image-plot/74536 "2022-01-25T16:39:28Z")

</div>

Hi, I am trying to label some plots containing images, but somehow I fail to have a label on top of an image. Here is a minimal working example : using GLMakie, FileIO img = load(assetpath("cow.png")) f = Figure() imag…

---

## [Domain error in circuit DAE](https://discourse.julialang.org/t/domain-error-in-circuit-dae/73542)

<div class="topic-metadata">

**Author:** [@dfcaporale](https://discourse.julialang.org/u/dfcaporale)\
**Replies:** 7\
**Last updated:** [January 25, 2022, 2:11pm UTC](https://discourse.julialang.org/t/domain-error-in-circuit-dae/73542 "2022-01-25T14:11:53Z")

</div>

I’m trying to solve the following DAE: \\begin{cases} i\_R=C \\displaystyle \\frac{dV\_o}{dt} \\\\ i\_R= \\displaystyle \\frac{V\_{in}(t)-V\_o-nV\_T \\ln \\displaystyle (1+\\displaystyle \\frac{i\_R}{I\_s}) }{R} \\end{cas…

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

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