# Specific Domains

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

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

**Page:** 403

---

## [V1.3 or higher for RPI](https://discourse.julialang.org/t/v1-3-or-higher-for-rpi/51758)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 1\
**Last updated:** [December 13, 2020, 11:05am UTC](https://discourse.julialang.org/t/v1-3-or-higher-for-rpi/51758 "2020-12-13T11:05:38Z")

</div>

Are there v1.3 or higher binaries for a Raspberry Pi? I know there is a docker image and/or I could compile it myself, but I would like to test the binaries instead (might take less resources than the docker image, and …

---

## [Julia DifferentialEquations: modify multiple states of the integrator at once](https://discourse.julialang.org/t/julia-differentialequations-modify-multiple-states-of-the-integrator-at-once/51705)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 2\
**Last updated:** [December 12, 2020, 1:37pm UTC](https://discourse.julialang.org/t/julia-differentialequations-modify-multiple-states-of-the-integrator-at-once/51705 "2020-12-12T13:37:52Z")

</div>

Hello, I have this model of interactions between bacteria and phages: using DifferentialEquations function payneJansenODE!(du, u, p, t) μ , φ, η, β, ω = p H = h = 0 #= du\[1\] = susceptible du\[2\] …

---

## [High Energy Physics (HEP) folks on Julia?](https://discourse.julialang.org/t/high-energy-physics-hep-folks-on-julia/15330)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 100\
**Last updated:** [December 12, 2020, 1:07pm UTC](https://discourse.julialang.org/t/high-energy-physics-hep-folks-on-julia/15330 "2020-12-12T13:07:32Z")

</div>

Maybe it’s not the most suitable domain but imo close enough. For reference, ROOT refers to ROOT/CERN Really enjoyed using Julia for a while and trying to apply it to more study/research replated works. I noticed the…

---

## [Mixture Model fitting with Turing](https://discourse.julialang.org/t/mixture-model-fitting-with-turing/51706)

<div class="topic-metadata">

**Author:** [@asjir](https://discourse.julialang.org/u/asjir)\
**Replies:** 0\
**Last updated:** [December 12, 2020, 9:11am UTC](https://discourse.julialang.org/t/mixture-model-fitting-with-turing/51706 "2020-12-12T09:11:16Z")

</div>

logpdf for a MixtureModel fails to differentiate (for me at least with all AD backends), prohibiting use of Hamiltonian MC and its derivatives for fitting models. The easy workaround is writing Distributions.logpdf(m::M…

---

## [MethodError: no method matching \_parse\_NL\_expr\_runtime (Bilevel problem)](https://discourse.julialang.org/t/methoderror-no-method-matching-parse-nl-expr-runtime-bilevel-problem/51681)

<div class="topic-metadata">

**Author:** [@trathi](https://discourse.julialang.org/u/trathi)\
**Replies:** 2\
**Last updated:** [December 12, 2020, 3:44am UTC](https://discourse.julialang.org/t/methoderror-no-method-matching-parse-nl-expr-runtime-bilevel-problem/51681 "2020-12-12T03:44:50Z")

</div>

I am trying to solve a bilevel problem using the BilevelJuMP package. However, I get the following error on execution: MethodError: no method matching \_parse\_NL\_expr\_runtime(::BilevelJuMP.UpperModel, ::Int64, ::Array{JuM…

---

## [How to index a JuMP variable during optimization](https://discourse.julialang.org/t/how-to-index-a-jump-variable-during-optimization/51658)

<div class="topic-metadata">

**Author:** [@prit](https://discourse.julialang.org/u/prit)\
**Replies:** 3\
**Last updated:** [December 12, 2020, 2:48am UTC](https://discourse.julialang.org/t/how-to-index-a-jump-variable-during-optimization/51658 "2020-12-12T02:48:39Z")

</div>

I have an undetermined (K) number of optimization problems to solve, and so far I have the following code to solve the K optimization problems. using JuMP using MosekTools m = Model(optimizer\_with\_attributes(Mosek.Optim…

---

## [PyMC Models to Turing.jl](https://discourse.julialang.org/t/pymc-models-to-turing-jl/51574)

<div class="topic-metadata">

**Author:** [@Stefan\_Bringuier](https://discourse.julialang.org/u/Stefan_Bringuier)\
**Replies:** 5\
**Last updated:** [December 11, 2020, 9:45pm UTC](https://discourse.julialang.org/t/pymc-models-to-turing-jl/51574 "2020-12-11T21:45:14Z")

</div>

I’m learning (beginner) some Bayesian methods from books like Bayesian Methods for Hackers, C. Davidson-Pilon and Bayesian Analysis with Python. However, I prefer to do most of my workflows using Julia and I would like t…

---

## [How to force variable to zero upon meeting condition in Julia DifferentialEquations](https://discourse.julialang.org/t/how-to-force-variable-to-zero-upon-meeting-condition-in-julia-differentialequations/51655)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 19\
**Last updated:** [December 11, 2020, 5:54pm UTC](https://discourse.julialang.org/t/how-to-force-variable-to-zero-upon-meeting-condition-in-julia-differentialequations/51655 "2020-12-11T17:54:52Z")

</div>

Hello, I have this model of bacteria and phage interactions: using DifferentialEquations function payneJansenODE!(du, u, p, t) μ , φ, η, β, ω = p H = h = 0 du\[1\] = (μ \* u\[1\]) - (φ \* u\[1\] \* u\[3\]) - (H \* u\[1\]…

---

## [Several contour plots in one 3d plot](https://discourse.julialang.org/t/several-contour-plots-in-one-3d-plot/50986)

<div class="topic-metadata">

**Author:** [@Flausi](https://discourse.julialang.org/u/Flausi)\
**Replies:** 5\
**Last updated:** [December 11, 2020, 2:35pm UTC](https://discourse.julialang.org/t/several-contour-plots-in-one-3d-plot/50986 "2020-12-11T14:35:14Z")

</div>

Hello, is there a possibility in Julia to combine several contour plots into one 3D plot like in the picture? I have tried a little bit with GLMike, but did not get it. I would be very happy if there is a solution.

---

## [How to use EnsembleDistributed() in DifferentialEquations.jl](https://discourse.julialang.org/t/how-to-use-ensembledistributed-in-differentialequations-jl/51642)

<div class="topic-metadata">

**Author:** [@jmmm](https://discourse.julialang.org/u/jmmm)\
**Replies:** 2\
**Last updated:** [December 11, 2020, 10:07am UTC](https://discourse.julialang.org/t/how-to-use-ensembledistributed-in-differentialequations-jl/51642 "2020-12-11T10:07:48Z")

</div>

I was following a tutorial in Stochastic Differential Equations · DifferentialEquations.jl (sciml.ai) and tried to modify it to use EnsembleDistributed() to speed up MC simulations. This is from the tutorial: using Dif…

---

## [The objective function is not supported by JuMP](https://discourse.julialang.org/t/the-objective-function-is-not-supported-by-jump/51652)

<div class="topic-metadata">

**Author:** [@prit](https://discourse.julialang.org/u/prit)\
**Replies:** 7\
**Last updated:** [December 11, 2020, 9:51am UTC](https://discourse.julialang.org/t/the-objective-function-is-not-supported-by-jump/51652 "2020-12-11T09:51:37Z")

</div>

How to optimize a function in jump that contains an array in the objective function? I have the following constraint optimization problem in jump: m = Model(optimizer\_with\_attributes(Mosek.Optimizer, "QUIET" =\> false, …

---

## [How can I use optim.jl to find some values](https://discourse.julialang.org/t/how-can-i-use-optim-jl-to-find-some-values/51317)

<div class="topic-metadata">

**Author:** [@Lucas\_Pollito](https://discourse.julialang.org/u/Lucas_Pollito)\
**Replies:** 15\
**Last updated:** [December 11, 2020, 5:33am UTC](https://discourse.julialang.org/t/how-can-i-use-optim-jl-to-find-some-values/51317 "2020-12-11T05:33:31Z")

</div>

I have some working code that i cant optmization to find some x\[1\] x\[2\] x\[3\] x\[4\] constants. A link for all the code is: https://drive.google.com/drive/folders/11cqtyUnWAoAYWdWyWOd6fbu4TVejbBlM?usp=sharing aRe = \[1.…

---

## [Solving dynamic complementarity problem using Optim.jl or Complementarity.jl](https://discourse.julialang.org/t/solving-dynamic-complementarity-problem-using-optim-jl-or-complementarity-jl/51498)

<div class="topic-metadata">

**Author:** [@jovansam](https://discourse.julialang.org/u/jovansam)\
**Replies:** 3\
**Last updated:** [December 11, 2020, 2:13am UTC](https://discourse.julialang.org/t/solving-dynamic-complementarity-problem-using-optim-jl-or-complementarity-jl/51498 "2020-12-11T02:13:20Z")

</div>

I am interested in solving a dynamic complementarity problem using Complementarity.jl or Optim.jl. In particular I would appreciate some assistance in solving or how I could solve the following. A - B\*q\[t\] = λ\[t\] …

---

## [Setting Knitro options](https://discourse.julialang.org/t/setting-knitro-options/51637)

<div class="topic-metadata">

**Author:** [@Arega\_Getaneh](https://discourse.julialang.org/u/Arega_Getaneh)\
**Replies:** 1\
**Last updated:** [December 11, 2020, 12:33am UTC](https://discourse.julialang.org/t/setting-knitro-options/51637 "2020-12-11T00:33:21Z")

</div>

I am using Knitro solver for MPEC problem. However, while solving, the solver exited before reaching the optimal decision and the information reads as EXIT: Problem appears to be unbounded. Iterate is feasible and objec…

---

## [DiffEq and SVector](https://discourse.julialang.org/t/diffeq-and-svector/51541)

<div class="topic-metadata">

**Author:** [@klaff](https://discourse.julialang.org/u/klaff)\
**Replies:** 16\
**Last updated:** [December 10, 2020, 11:11pm UTC](https://discourse.julialang.org/t/diffeq-and-svector/51541 "2020-12-10T23:11:57Z")

</div>

Hello, I’ve been rereading some of the docs and tutorials in SciML and in particular this Optimizing DiffEq Code, and tried using StaticArrays as in the lorenz example, but on a problem of my own. In my case, the execut…

---

## [Extracting JuMP results](https://discourse.julialang.org/t/extracting-jump-results/51429)

<div class="topic-metadata">

**Author:** [@JohnZ](https://discourse.julialang.org/u/JohnZ)\
**Replies:** 6\
**Last updated:** [December 10, 2020, 10:25pm UTC](https://discourse.julialang.org/t/extracting-jump-results/51429 "2020-12-10T22:25:19Z")

</div>

It seems like matrix multiplication does not work in the usual way with DenseAxisArray, If I use, ones(5,15)\*x using the code in the MWE it throws an error. Interestingly, array slicing ones(5,15)\[1,:\]'\*x works fine, b…

---

## [Julia's FEM Landscape: where should DifferentialEquations go?](https://discourse.julialang.org/t/julias-fem-landscape-where-should-differentialequations-go/1592)

<div class="topic-metadata">

**Author:** [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Replies:** 37\
**Last updated:** [December 10, 2020, 10:05pm UTC](https://discourse.julialang.org/t/julias-fem-landscape-where-should-differentialequations-go/1592 "2020-12-10T22:05:49Z")

</div>

Hey, I am taking a good hard look at the Julia FEM landscape and would like some input. Let me first explain what I see the domain and scope of DifferentialEquations.jl. My work and research is centered around solving di…

---

## [How to modulate the resolution of Julia DifferentialEquations solver](https://discourse.julialang.org/t/how-to-modulate-the-resolution-of-julia-differentialequations-solver/51561)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 6\
**Last updated:** [December 10, 2020, 8:00pm UTC](https://discourse.julialang.org/t/how-to-modulate-the-resolution-of-julia-differentialequations-solver/51561 "2020-12-10T20:00:21Z")

</div>

Hello, I have this model with delayed differential equations: using DifferentialEquations # function function baseInfect!(du, u, p, t) μ, κ, φ, ω, η, β = p du\[1\] = ((μ \* u\[1\]) \* (1 - ((u\[1\]+u\[2\])/κ))) - (φ \* u\[…

---

## [Calculating Breaths Per Minute from Video Data](https://discourse.julialang.org/t/calculating-breaths-per-minute-from-video-data/51582)

<div class="topic-metadata">

**Author:** [@RodBiren](https://discourse.julialang.org/u/RodBiren)\
**Replies:** 9\
**Last updated:** [December 10, 2020, 6:20pm UTC](https://discourse.julialang.org/t/calculating-breaths-per-minute-from-video-data/51582 "2020-12-10T18:20:32Z")

</div>

I have been able to process video data of myself sleeping using a Wyze camera to produce fairly solid data that I would like to use to calculate breaths per minute.The actual calculation is trivial. I calculate the perce…

---

## [Interpolation on non-rectangular domain](https://discourse.julialang.org/t/interpolation-on-non-rectangular-domain/51568)

<div class="topic-metadata">

**Author:** [@Honza9723](https://discourse.julialang.org/u/Honza9723)\
**Replies:** 12\
**Last updated:** [December 10, 2020, 6:12pm UTC](https://discourse.julialang.org/t/interpolation-on-non-rectangular-domain/51568 "2020-12-10T18:12:08Z")

</div>

Dear all, I would like to ask for advice, how to interpolate function on a non-rectangular domain. I am working on a problem, where the domain of my function is 2 or 3 dimensional, where all variables are restricted to …

---

## [Modifying coefficient of quadratic term in objective function](https://discourse.julialang.org/t/modifying-coefficient-of-quadratic-term-in-objective-function/51622)

<div class="topic-metadata">

**Author:** [@guilhermebodin](https://discourse.julialang.org/u/guilhermebodin)\
**Replies:** 1\
**Last updated:** [December 10, 2020, 5:59pm UTC](https://discourse.julialang.org/t/modifying-coefficient-of-quadratic-term-in-objective-function/51622 "2020-12-10T17:59:17Z")

</div>

Suppose I have this problem: using JuMP, OSQP m = Model(OSQP.Optimizer) @variable(m, x\[1:3\] \>= 0) @constraint(m, sum(x) .\>= 1) @objective(m, Min, x\[1\] + 2x\[2\] + 3x\[3\]^2 + 2x\[1\]^2) optimize!(m) objective\_value(m) I can …

---

## [DifferentialEquations.jl: Complex function results in Inexact Error](https://discourse.julialang.org/t/differentialequations-jl-complex-function-results-in-inexact-error/51591)

<div class="topic-metadata">

**Author:** [@ess3sq](https://discourse.julialang.org/u/ess3sq)\
**Replies:** 5\
**Last updated:** [December 10, 2020, 12:57pm UTC](https://discourse.julialang.org/t/differentialequations-jl-complex-function-results-in-inexact-error/51591 "2020-12-10T12:57:50Z")

</div>

I am trying to solve a one dimensional Schrödinger equation which has been reduced to a first-order linear ODE of the kind \\psi’(x) = f(x) \\psi(x), where all functions have complex args (Complex{Float64}) I believe. Eit…

---

## [How to debug ODE](https://discourse.julialang.org/t/how-to-debug-ode/50576)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 14\
**Last updated:** [December 10, 2020, 6:59am UTC](https://discourse.julialang.org/t/how-to-debug-ode/50576 "2020-12-10T06:59:22Z")

</div>

Hello, I have a set of ODEs to model a bacterial infection: function kinInfect!(du, u, p, t) μ , φ, η, β, ω, χ, ε = p H = h = 0 #= du\[1\] = susceptible du\[2\] = infected du\[3\] = phages μ…

---

## [Add constraints in parallel](https://discourse.julialang.org/t/add-constraints-in-parallel/51382)

<div class="topic-metadata">

**Author:** [@cyanzhao42](https://discourse.julialang.org/u/cyanzhao42)\
**Replies:** 2\
**Last updated:** [December 10, 2020, 6:39am UTC](https://discourse.julialang.org/t/add-constraints-in-parallel/51382 "2020-12-10T06:39:27Z")

</div>

Hi all, I am wondering can I add constraints to one model in parallel? The constraints is added via a for-loop. Thanks!

---

## [Learning non-linear spatio-temporal dynamics with convolutional Neural ODEs](https://discourse.julialang.org/t/learning-non-linear-spatio-temporal-dynamics-with-convolutional-neural-odes/51448)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 1\
**Last updated:** [December 10, 2020, 4:42am UTC](https://discourse.julialang.org/t/learning-non-linear-spatio-temporal-dynamics-with-convolutional-neural-odes/51448 "2020-12-10T04:42:27Z")

</div>

I work for Dell, but am not involved. @ChrisRackauckas please tell us this is all written in Julia… https://ml4physicalsciences.github.io/2020/files/NeurIPS\_ML4PS\_2020\_125.pdf

---

## [How to make a custom (/manual) legend with Plots.jl?](https://discourse.julialang.org/t/how-to-make-a-custom-manual-legend-with-plots-jl/51579)

<div class="topic-metadata">

**Author:** [@bvilmann](https://discourse.julialang.org/u/bvilmann)\
**Replies:** 0\
**Last updated:** [December 10, 2020, 2:45am UTC](https://discourse.julialang.org/t/how-to-make-a-custom-manual-legend-with-plots-jl/51579 "2020-12-10T02:45:30Z")

</div>

Dear community! I want to make a common (/manual) legend for my plot for the various “types” of production units. How do I do that with Plots? My code is something similar to: groupedbar( hcat(C'-P', P',zeros(N…

---

## [Which solver/model library can be used recursively / reentrantly](https://discourse.julialang.org/t/which-solver-model-library-can-be-used-recursively-reentrantly/51294)

<div class="topic-metadata">

**Author:** [@xyz1](https://discourse.julialang.org/u/xyz1)\
**Replies:** 2\
**Last updated:** [December 9, 2020, 8:47pm UTC](https://discourse.julialang.org/t/which-solver-model-library-can-be-used-recursively-reentrantly/51294 "2020-12-09T20:47:48Z")

</div>

Hello, my code currently consists of a recursive function f and I am planning on using an optimization solver (global optimization for integer programming with binary variables) for solving a sub-problem of the function f…

---

## [Manually defined partially conjugate update step](https://discourse.julialang.org/t/manually-defined-partially-conjugate-update-step/51299)

<div class="topic-metadata">

**Author:** [@fmeulen](https://discourse.julialang.org/u/fmeulen)\
**Replies:** 2\
**Last updated:** [December 9, 2020, 8:05pm UTC](https://discourse.julialang.org/t/manually-defined-partially-conjugate-update-step/51299 "2020-12-09T20:05:05Z")

</div>

I have a model where I can apply Turing to the full parameter vector, that seems to work. However, I can partition the parameter such that a Gibbs sampler can be devised where one parameter is updated in a partially conj…

---

## [Performance regression with GPUArrays subset sum](https://discourse.julialang.org/t/performance-regression-with-gpuarrays-subset-sum/50767)

<div class="topic-metadata">

**Author:** [@eaubanel](https://discourse.julialang.org/u/eaubanel)\
**Replies:** 9\
**Last updated:** [December 9, 2020, 7:20pm UTC](https://discourse.julialang.org/t/performance-regression-with-gpuarrays-subset-sum/50767 "2020-12-09T19:20:23Z")

</div>

I’ve been away from Julia for several months, and have been rerunning GPU code from this past summer on a new installation of Jula 1.5.3 and CUDA.jl (previously I used the separate CUDA packages). My subset sum program n…

---

## [NLSolve performance 32 vs 64 bits](https://discourse.julialang.org/t/nlsolve-performance-32-vs-64-bits/51515)

<div class="topic-metadata">

**Author:** [@bdc](https://discourse.julialang.org/u/bdc)\
**Replies:** 1\
**Last updated:** [December 9, 2020, 12:18pm UTC](https://discourse.julialang.org/t/nlsolve-performance-32-vs-64-bits/51515 "2020-12-09T12:18:45Z")

</div>

Hi, For an application with NLsolve.jl I ran into an OutOfMemoryError(), so I decided to try using single instead of double precision in order to reduce the memory footprint (approach similar to machine learning on GPU’…

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

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