# Specific Domains

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

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

**Page:** 66

---

## [PATHSolver.jl not working on ARM Linux](https://discourse.julialang.org/t/pathsolver-jl-not-working-on-arm-linux/124203)

<div class="topic-metadata">

**Author:** [@nealhughes](https://discourse.julialang.org/u/nealhughes)\
**Replies:** 13\
**Last updated:** [December 29, 2024, 2:35am UTC](https://discourse.julialang.org/t/pathsolver-jl-not-working-on-arm-linux/124203 "2024-12-29T02:35:53Z")

</div>

I have a JuMP MCP model using PATHSolver.jl which works fine on Windows x86. I am trying to get it working on an ARM laptop in WSL (Ubuntu). All packages have installed fine out of the box except PATHSolver.jl, which gi…

---

## [No method matching Float64(::ForwardDiff.Dual{Nothing, Float64, 1})](https://discourse.julialang.org/t/no-method-matching-float64-forwarddiff-dual-nothing-float64-1/124228)

<div class="topic-metadata">

**Author:** [@CatY](https://discourse.julialang.org/u/CatY)\
**Replies:** 9\
**Last updated:** [December 29, 2024, 1:42am UTC](https://discourse.julialang.org/t/no-method-matching-float64-forwarddiff-dual-nothing-float64-1/124228 "2024-12-29T01:42:04Z")

</div>

Hi, I’m a new user for Julia, and I’m trying to use neural networks to simulate test data with differential equations, while I’m getting an error that no method matching Float64. I checked the DifferentialEquations.jl do…

---

## [Scaling issue (probably) while solving simple PINN problem](https://discourse.julialang.org/t/scaling-issue-probably-while-solving-simple-pinn-problem/124183)

<div class="topic-metadata">

**Author:** [@nico](https://discourse.julialang.org/u/nico)\
**Replies:** 3\
**Last updated:** [December 27, 2024, 4:04pm UTC](https://discourse.julialang.org/t/scaling-issue-probably-while-solving-simple-pinn-problem/124183 "2024-12-27T16:04:14Z")

</div>

Hi All! I am trying to solve a simple ODE with the PINN technology. There might be better ways to do that, but I am using it to test and understand few practical things. This code worked perfectly as long as the probl…

---

## [How to optimize neural network parameters with non-gradient algorithms?](https://discourse.julialang.org/t/how-to-optimize-neural-network-parameters-with-non-gradient-algorithms/124186)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 2\
**Last updated:** [December 26, 2024, 7:41pm UTC](https://discourse.julialang.org/t/how-to-optimize-neural-network-parameters-with-non-gradient-algorithms/124186 "2024-12-26T19:41:58Z")

</div>

Is there any simple example code for optimizing neural network (e.g. from Flux.jl) parameters using non-gradient algorithms such as simulated annealing and genetic algorithms?

---

## [How to use time-dependant parameters in InfiniteOpt](https://discourse.julialang.org/t/how-to-use-time-dependant-parameters-in-infiniteopt/124092)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 8\
**Last updated:** [December 26, 2024, 5:16pm UTC](https://discourse.julialang.org/t/how-to-use-time-dependant-parameters-in-infiniteopt/124092 "2024-12-26T17:16:24Z")

</div>

I am using InfiniteOpt and I would like to have a parameter time-dependent. For example, in their “eating the cake” optimal consumption model, I would like to define the utility function with a multiplier that change wi…

---

## [Gridap & Richards equation](https://discourse.julialang.org/t/gridap-richards-equation/123961)

<div class="topic-metadata">

**Author:** [@Fabio\_Zottele](https://discourse.julialang.org/u/Fabio_Zottele)\
**Replies:** 5\
**Last updated:** [December 24, 2024, 10:58pm UTC](https://discourse.julialang.org/t/gridap-richards-equation/123961 "2024-12-24T22:58:30Z")

</div>

Hi all. I am rather new to julia and totally new to Gridap. Before starting a new time and energy consuming project I would like to know if Gridap is suitable for solving “highly non linear problem” (the Richards equatio…

---

## [Cumulative sum on GPUArray using KernelAbstractions](https://discourse.julialang.org/t/cumulative-sum-on-gpuarray-using-kernelabstractions/124098)

<div class="topic-metadata">

**Author:** [@albertomercurio](https://discourse.julialang.org/u/albertomercurio)\
**Replies:** 4\
**Last updated:** [December 24, 2024, 3:16pm UTC](https://discourse.julialang.org/t/cumulative-sum-on-gpuarray-using-kernelabstractions/124098 "2024-12-24T15:16:37Z")

</div>

Hello, I need to implement the cumulative sum (cumsum) on a GPU array (CUDA.jl or Metal.jl). Looking at the CUDA.jl repository, I found this definition function cumsum!(sums) shift = 1 while shift \< length(sum…

---

## [KrylovKit eigsolve of LinearMap giving different values in CPU and GPU](https://discourse.julialang.org/t/krylovkit-eigsolve-of-linearmap-giving-different-values-in-cpu-and-gpu/124032)

<div class="topic-metadata">

**Author:** [@victor\_vhrn](https://discourse.julialang.org/u/victor_vhrn)\
**Replies:** 7\
**Last updated:** [December 23, 2024, 9:31pm UTC](https://discourse.julialang.org/t/krylovkit-eigsolve-of-linearmap-giving-different-values-in-cpu-and-gpu/124032 "2024-12-23T21:31:07Z")

</div>

I am trying to compare the eigsolve function using CPU and GPU, using the following code: using CUDA using CUDA.CUSPARSE using LinearAlgebra using LinearMaps using SparseArrays using Random using KrylovKit function eig…

---

## [Getting started with the Agents tutorial](https://discourse.julialang.org/t/getting-started-with-the-agents-tutorial/124063)

<div class="topic-metadata">

**Author:** [@Niall](https://discourse.julialang.org/u/Niall)\
**Replies:** 3\
**Last updated:** [December 23, 2024, 6:55pm UTC](https://discourse.julialang.org/t/getting-started-with-the-agents-tutorial/124063 "2024-12-23T18:55:34Z")

</div>

Hi, I just can’t seem to find out how to the Agents.jl tutorial up and running. I’ve used previous incarnations, but something’s not working this time - it’s been about a year since I last used it. The problems start wi…

---

## [Request for comments: Upcoming Kmers.jl version 1.0](https://discourse.julialang.org/t/request-for-comments-upcoming-kmers-jl-version-1-0/108203)

<div class="topic-metadata">

**Author:** [@jakobnissen](https://discourse.julialang.org/u/jakobnissen)\
**Replies:** 4\
**Last updated:** [December 23, 2024, 6:38pm UTC](https://discourse.julialang.org/t/request-for-comments-upcoming-kmers-jl-version-1-0/108203 "2024-12-23T18:38:07Z")

</div>

Dear BioJulia users and stakeholders, I’m pleased to announce a preview of the first stable release of Kmers.jl, namely version 1.0. The release is essentially done and just needs some more testing and polishing, but b…

---

## [Developing an R package using Julia for a statistical model](https://discourse.julialang.org/t/developing-an-r-package-using-julia-for-a-statistical-model/121320)

<div class="topic-metadata">

**Author:** [@Mateus\_Maia](https://discourse.julialang.org/u/Mateus_Maia)\
**Replies:** 21\
**Last updated:** [December 23, 2024, 3:35pm UTC](https://discourse.julialang.org/t/developing-an-r-package-using-julia-for-a-statistical-model/121320 "2024-12-23T15:35:42Z")

</div>

Hi all, I would like to know what is the current state of using Julia as a backend for an R package. I writing a code for a statistical model, but I aware that most of the people will use R to run those analysis so I wo…

---

## [ODESystem not handeling dynamic parameters](https://discourse.julialang.org/t/odesystem-not-handeling-dynamic-parameters/124118)

<div class="topic-metadata">

**Author:** [@Sushrut\_Deshpande](https://discourse.julialang.org/u/Sushrut_Deshpande)\
**Replies:** 0\
**Last updated:** [December 23, 2024, 12:11pm UTC](https://discourse.julialang.org/t/odesystem-not-handeling-dynamic-parameters/124118 "2024-12-23T12:11:06Z")

</div>

Hello, I have a toy problem where I have a parameter that depends on time using ModelingToolkit, DifferentialEquations using ModelingToolkit: t\_nounits as t, D\_nounits as D function test(;name) vars = @variables b…

---

## [Help using CUDA, Zygote, and random numbers](https://discourse.julialang.org/t/help-using-cuda-zygote-and-random-numbers/123458)

<div class="topic-metadata">

**Author:** [@bgctw](https://discourse.julialang.org/u/bgctw)\
**Replies:** 4\
**Last updated:** [December 23, 2024, 8:59am UTC](https://discourse.julialang.org/t/help-using-cuda-zygote-and-random-numbers/123458 "2024-12-23T08:59:15Z")

</div>

I get the error “llvmcall requires the compiler” when trying to take the gradient of a function that involves generating random numbers in CUDA. Here is a minimal example: using GPUArraysCore: GPUArraysCore using CUDA, …

---

## [Gurobi Error 10005: Unable to retrieve attribute 'Pi'](https://discourse.julialang.org/t/gurobi-error-10005-unable-to-retrieve-attribute-pi/53691)

<div class="topic-metadata">

**Author:** [@rezabayani](https://discourse.julialang.org/u/rezabayani)\
**Replies:** 8\
**Last updated:** [December 22, 2024, 10:08am UTC](https://discourse.julialang.org/t/gurobi-error-10005-unable-to-retrieve-attribute-pi/53691 "2024-12-22T10:08:55Z")

</div>

I am trying to retrieve some Gurobi attributes for through MOI.get() function with direct\_model() enabled. Everything seems to be working but when I try to get “Pi” (dual value for a constraint), I encounter the error: G…

---

## [CUDA.jl is slowed down after some number of iterations](https://discourse.julialang.org/t/cuda-jl-is-slowed-down-after-some-number-of-iterations/123911)

<div class="topic-metadata">

**Author:** [@Alex90](https://discourse.julialang.org/u/Alex90)\
**Replies:** 9\
**Last updated:** [December 22, 2024, 8:27am UTC](https://discourse.julialang.org/t/cuda-jl-is-slowed-down-after-some-number-of-iterations/123911 "2024-12-22T08:27:59Z")

</div>

Hello! When looping simple math operations it was found that CUDA.jl is slowed down after some number of iterations. In this case, most of the execution time is consumed by CuLaunchKernel procedure. I thought that a cus…

---

## [JuMP: the other implication for indicator constraints](https://discourse.julialang.org/t/jump-the-other-implication-for-indicator-constraints/124048)

<div class="topic-metadata">

**Author:** [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Replies:** 3\
**Last updated:** [December 21, 2024, 4:20pm UTC](https://discourse.julialang.org/t/jump-the-other-implication-for-indicator-constraints/124048 "2024-12-21T16:20:53Z")

</div>

In JuMP there is some support for indicator constraints. The documentation reads Indicator constraints consist of a binary variable and a linear constraint. The constraint holds when the binary variable takes the value…

---

## [Unreasonable memory usage with M4 GPU](https://discourse.julialang.org/t/unreasonable-memory-usage-with-m4-gpu/123890)

<div class="topic-metadata">

**Author:** [@Andrea\_Pagnani](https://discourse.julialang.org/u/Andrea_Pagnani)\
**Replies:** 2\
**Last updated:** [December 21, 2024, 8:48am UTC](https://discourse.julialang.org/t/unreasonable-memory-usage-with-m4-gpu/123890 "2024-12-21T08:48:08Z")

</div>

Dearests, my fight to make a reasonable use of my M4 GPU continues. Metal.versioninfo()macOS 15.1.1, Darwin 24.1.0 Toolchain: Julia: 1.11.2 LLVM: 16.0.6 Julia packages: Metal.jl: 1.4.2 GPUArrays: 10.3.1 GPUCompil…

---

## [JuMP Unable to register the function](https://discourse.julialang.org/t/jump-unable-to-register-the-function/124006)

<div class="topic-metadata">

**Author:** [@jgr](https://discourse.julialang.org/u/jgr)\
**Replies:** 1\
**Last updated:** [December 21, 2024, 12:01am UTC](https://discourse.julialang.org/t/jump-unable-to-register-the-function/124006 "2024-12-21T00:01:30Z")

</div>

The function I want to maximize is function L(params::Vector{Real}, df::DataFrame, mm::MMParams) θ1, α1, β1, D1, N1, ϵ1, θ2, α2, β2, D2, N2, ϵ2, ρ, pA, pF, σ, constant = params Π = mm.Π y\_star\_1 = y\_start((…

---

## [(Plots) how to set color of ticks?](https://discourse.julialang.org/t/plots-how-to-set-color-of-ticks/123974)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 7\
**Last updated:** [December 20, 2024, 11:57pm UTC](https://discourse.julialang.org/t/plots-how-to-set-color-of-ticks/123974 "2024-12-20T23:57:51Z")

</div>

How to set color of ticks? Not font or axis, only ticks. Upd: using Plots.jl (gr backend) Like this:

---

## [Intersection of Ball and GeometrySet in LatLon crs](https://discourse.julialang.org/t/intersection-of-ball-and-geometryset-in-latlon-crs/123992)

<div class="topic-metadata">

**Author:** [@stepanoslejsek](https://discourse.julialang.org/u/stepanoslejsek)\
**Replies:** 6\
**Last updated:** [December 20, 2024, 8:37am UTC](https://discourse.julialang.org/t/intersection-of-ball-and-geometryset-in-latlon-crs/123992 "2024-12-20T08:37:26Z")

</div>

Hi, I’d like to find an intersection of a Ball with GeometrySet in LatLon coordinate reference system. However, when I construct my Ball b like b = GeoStats.Ball(GeoStats.Point(LatLon(48.34, 18.45)), 10) and ropes r a…

---

## [Dialog to select local directories with Genie.jl](https://discourse.julialang.org/t/dialog-to-select-local-directories-with-genie-jl/123996)

<div class="topic-metadata">

**Author:** [@TheHedgehog2000](https://discourse.julialang.org/u/TheHedgehog2000)\
**Replies:** 5\
**Last updated:** [December 20, 2024, 7:00am UTC](https://discourse.julialang.org/t/dialog-to-select-local-directories-with-genie-jl/123996 "2024-12-20T07:00:50Z")

</div>

Using Genie, I want to include a button in a web app that, once clicked, will trigger a dialog which allows a user to select folders containing data from their local computer to upload to the web app. I can do this using…

---

## [Double yaxis using plotlyjs() as backend](https://discourse.julialang.org/t/double-yaxis-using-plotlyjs-as-backend/123978)

<div class="topic-metadata">

**Author:** [@Stephen](https://discourse.julialang.org/u/Stephen)\
**Replies:** 3\
**Last updated:** [December 20, 2024, 5:30am UTC](https://discourse.julialang.org/t/double-yaxis-using-plotlyjs-as-backend/123978 "2024-12-20T05:30:38Z")

</div>

Hello, there, I want plot δGDP and δM2 vs Year on left yaxis, whereas δGDP/δM2 vs Year on the right side Here is my code: anyon can help me with plot!? Thanks! using Plots plotlyjs() begin p = plot( Year, \[δM2…

---

## [Number of differential equation / degree of freedom](https://discourse.julialang.org/t/number-of-differential-equation-degree-of-freedom/123644)

<div class="topic-metadata">

**Author:** [@cstjean](https://discourse.julialang.org/u/cstjean)\
**Replies:** 1\
**Last updated:** [December 19, 2024, 8:48pm UTC](https://discourse.julialang.org/t/number-of-differential-equation-degree-of-freedom/123644 "2024-12-19T20:48:36Z")

</div>

Today I was working on a (ModelingToolkit) problem with a single degree of freedom. But formulating everything with a single differential equation (plus supporting simple equations) turns out somewhat complicated / ugly.…

---

## [JuMP design question](https://discourse.julialang.org/t/jump-design-question/123927)

<div class="topic-metadata">

**Author:** [@langestefan](https://discourse.julialang.org/u/langestefan)\
**Replies:** 7\
**Last updated:** [December 19, 2024, 6:03pm UTC](https://discourse.julialang.org/t/jump-design-question/123927 "2024-12-19T18:03:30Z")

</div>

Hi, I am building a model which is made up of smaller models. The smaller model definition can be found here: JuMP: which solver should I use for my problem? For context, the model linked above is a heat pump h which c…

---

## [Error when compiling gather and scatter operation under Reactant](https://discourse.julialang.org/t/error-when-compiling-gather-and-scatter-operation-under-reactant/123930)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 6\
**Last updated:** [December 19, 2024, 4:57pm UTC](https://discourse.julialang.org/t/error-when-compiling-gather-and-scatter-operation-under-reactant/123930 "2024-12-19T16:57:04Z")

</div>

Hi All, I have started to experiment with Lux, Enzyme, and Reactant. In my applications, I frequently need a operation described as segmented\_sum or segmented\_mean, which can be computed using compositions of scatter a…

---

## [Plots.jl precompile performance](https://discourse.julialang.org/t/plots-jl-precompile-performance/123979)

<div class="topic-metadata">

**Author:** [@deszoeke](https://discourse.julialang.org/u/deszoeke)\
**Replies:** 4\
**Last updated:** [December 19, 2024, 4:56pm UTC](https://discourse.julialang.org/t/plots-jl-precompile-performance/123979 "2024-12-19T16:56:11Z")

</div>

Is there a lightweight version or workflow for Plots.jl that doesn’t precompile all the backends and dependencies? Most users will only need to use a small subset of backends from one environment, or maybe ever. Could th…

---

## [Mooncake with ForwardDiff](https://discourse.julialang.org/t/mooncake-with-forwarddiff/123952)

<div class="topic-metadata">

**Author:** [@c\_sell](https://discourse.julialang.org/u/c_sell)\
**Replies:** 4\
**Last updated:** [December 19, 2024, 11:37am UTC](https://discourse.julialang.org/t/mooncake-with-forwarddiff/123952 "2024-12-19T11:37:14Z")

</div>

Hello, I would like to know if: It is possible to compute the Hessian using a Mooncake backward pass and a ForwardDiff forward pass? Or are there other efficient methods to compute the Hessian? I tried using Differen…

---

## [How fast does a model has to be for NMPC](https://discourse.julialang.org/t/how-fast-does-a-model-has-to-be-for-nmpc/120694)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 64\
**Last updated:** [December 19, 2024, 8:13am UTC](https://discourse.julialang.org/t/how-fast-does-a-model-has-to-be-for-nmpc/120694 "2024-12-19T08:13:11Z")

</div>

How many times faster than real-time does a model has to be to be feasible for using model predictive control? Assumptions: 20Hz update rate 5s required horizon controller with three scalar outputs Of course this dep…

---

## [Build combined model from individual jump models](https://discourse.julialang.org/t/build-combined-model-from-individual-jump-models/123975)

<div class="topic-metadata">

**Author:** [@jacob-roth](https://discourse.julialang.org/u/jacob-roth)\
**Replies:** 2\
**Last updated:** [December 19, 2024, 2:32am UTC](https://discourse.julialang.org/t/build-combined-model-from-individual-jump-models/123975 "2024-12-19T02:32:10Z")

</div>

Suppose I have a two stage problem where I expect the user to provide (1) a first-stage model written in JuMP and (2) a function to evaluate the recourse. If the user’s recourse function evaluates subproblems also writte…

---

## [How to get constraints from one JuMP model and use them in another JuMP model](https://discourse.julialang.org/t/how-to-get-constraints-from-one-jump-model-and-use-them-in-another-jump-model/20729)

<div class="topic-metadata">

**Author:** [@Mahbubar06](https://discourse.julialang.org/u/Mahbubar06)\
**Replies:** 8\
**Last updated:** [December 19, 2024, 1:30am UTC](https://discourse.julialang.org/t/how-to-get-constraints-from-one-jump-model-and-use-them-in-another-jump-model/20729 "2024-12-19T01:30:53Z")

</div>

Hello, I have two JuMP model like following: m1=Model(solver=ClpSolver()) @variable(m1, x\[1:3\]\>=0) @constraint(m1, sum(x\[i\] for i in 1:3)\>=0) @constraint(m1, sum(x\[i\] for i in \[1,3\])\>=0) @constraint(m1, sum(x\[i\] for i …

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

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