# Specific Domains

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

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

**Page:** 122

---

## [Turing: Posterior Prediction](https://discourse.julialang.org/t/turing-posterior-prediction/111072)

<div class="topic-metadata">

**Author:** [@Sam\_P](https://discourse.julialang.org/u/Sam_P)\
**Replies:** 6\
**Last updated:** [April 5, 2024, 3:22pm UTC](https://discourse.julialang.org/t/turing-posterior-prediction/111072 "2024-04-05T15:22:36Z")

</div>

Hi, I’ve been trying to use the predict function in Turing for Posterior Prediction as per here: https://discourse.julialang.org/t/ann-turing-0-13-0-mle-map-and-prediction/40033#prediction-2 Based on that, I tried appl…

---

## [Challenges with Zygote Differentiation in Multivariate Mixture Models as input noise of an implicit machine learning method](https://discourse.julialang.org/t/challenges-with-zygote-differentiation-in-multivariate-mixture-models-as-input-noise-of-an-implicit-machine-learning-method/112560)

<div class="topic-metadata">

**Author:** [@josemanuel22](https://discourse.julialang.org/u/josemanuel22)\
**Replies:** 10\
**Last updated:** [April 5, 2024, 2:23pm UTC](https://discourse.julialang.org/t/challenges-with-zygote-differentiation-in-multivariate-mixture-models-as-input-noise-of-an-implicit-machine-learning-method/112560 "2024-04-05T14:23:25Z")

</div>

The following implicit machine learning method works well when the input noise is, for example, a multidimensional Gaussian function sliced\_invariant\_statistical\_loss\_optimized\_2(nn\_model, loader, hparams) @assert l…

---

## [Recommended equivalent to map / broadcast on GroupedDataFrame](https://discourse.julialang.org/t/recommended-equivalent-to-map-broadcast-on-groupeddataframe/110819)

<div class="topic-metadata">

**Author:** [@jeremiedb](https://discourse.julialang.org/u/jeremiedb)\
**Replies:** 4\
**Last updated:** [April 5, 2024, 1:11pm UTC](https://discourse.julialang.org/t/recommended-equivalent-to-map-broadcast-on-groupeddataframe/110819 "2024-04-05T13:11:59Z")

</div>

If we have function f1 that takes a DataFrame as an argument and returns a scalar, how can a reduction operation using f1 be applied over each SubDataFrame of a grouped dataframe? using DataFrames # reduce function f1(…

---

## [Help to formulate an ODE problem to use OrdinaryDiffEq](https://discourse.julialang.org/t/help-to-formulate-an-ode-problem-to-use-ordinarydiffeq/112494)

<div class="topic-metadata">

**Author:** [@Iddingsite](https://discourse.julialang.org/u/Iddingsite)\
**Replies:** 4\
**Last updated:** [April 5, 2024, 8:31am UTC](https://discourse.julialang.org/t/help-to-formulate-an-ode-problem-to-use-ordinarydiffeq/112494 "2024-04-05T08:31:24Z")

</div>

Hi everyone, For one of my problem, I need to solve this ODE backwards: \\frac{dX}{dt} = a(X(t),t), \\\\ X(t^{n+1}) = X\_g where X is the position of a marker (could be 1d, 2d or 3d), a(X(t),t) is a velocity vector and X…

---

## [Running independent variable-length simulations on busy Slurm cluster](https://discourse.julialang.org/t/running-independent-variable-length-simulations-on-busy-slurm-cluster/112162)

<div class="topic-metadata">

**Author:** [@Sevi](https://discourse.julialang.org/u/Sevi)\
**Replies:** 2\
**Last updated:** [April 5, 2024, 7:40am UTC](https://discourse.julialang.org/t/running-independent-variable-length-simulations-on-busy-slurm-cluster/112162 "2024-04-05T07:40:19Z")

</div>

I’m running Julia code on a Slurm cluster, but this question is not entirely specific to Julia. I hope it’s OK to post it here anyway (I am also fine with a Julia-specific solution): Problem Suppose we have a large numb…

---

## [Differentiability of functions that have integer outputs](https://discourse.julialang.org/t/differentiability-of-functions-that-have-integer-outputs/112520)

<div class="topic-metadata">

**Author:** [@Arijit\_Bhattacharya](https://discourse.julialang.org/u/Arijit_Bhattacharya)\
**Replies:** 6\
**Last updated:** [April 5, 2024, 6:55am UTC](https://discourse.julialang.org/t/differentiability-of-functions-that-have-integer-outputs/112520 "2024-04-05T06:55:00Z")

</div>

Question: I’m currently implementing an Immersed Boundary Method (IBM) in Julia, and I’ve written a function to compute interpolation weights for IBM forcing. I want my IBM code to be differentiable for which I will be u…

---

## [Monte Carlo simulation and probabilistic programming packages](https://discourse.julialang.org/t/monte-carlo-simulation-and-probabilistic-programming-packages/111408)

<div class="topic-metadata">

**Author:** [@askvorts](https://discourse.julialang.org/u/askvorts)\
**Replies:** 3\
**Last updated:** [April 5, 2024, 6:12am UTC](https://discourse.julialang.org/t/monte-carlo-simulation-and-probabilistic-programming-packages/111408 "2024-04-05T06:12:11Z")

</div>

I’m trying to find Julia packages to perform (financial) quantitative analysis under uncertainty, typicaly by Monte Carlo simulation. Somewhat similar to Oracle Crystal Ball or Palisade @RISK. Found MCHammer.jl that seem…

---

## [Loaded v1.10.2; receiving LoadError: MethodError: no method matching var"@agent](https://discourse.julialang.org/t/loaded-v1-10-2-receiving-loaderror-methoderror-no-method-matching-var-agent/112549)

<div class="topic-metadata">

**Author:** [@tfranks](https://discourse.julialang.org/u/tfranks)\
**Replies:** 7\
**Last updated:** [April 5, 2024, 3:34am UTC](https://discourse.julialang.org/t/loaded-v1-10-2-receiving-loaderror-methoderror-no-method-matching-var-agent/112549 "2024-04-05T03:34:38Z")

</div>

Hello, I’ve installed the latest version 1.10.2 and using the predator-prey example. When I run my code (shown below) and the predator-prey code, both get the same error message: LoadError: MethodError: no method matc…

---

## [Gradient-based parameter estimation for Catalyst.jl models](https://discourse.julialang.org/t/gradient-based-parameter-estimation-for-catalyst-jl-models/112542)

<div class="topic-metadata">

**Author:** [@dhowsmon](https://discourse.julialang.org/u/dhowsmon)\
**Replies:** 1\
**Last updated:** [April 5, 2024, 3:03am UTC](https://discourse.julialang.org/t/gradient-based-parameter-estimation-for-catalyst-jl-models/112542 "2024-04-05T03:03:48Z")

</div>

Hi, I am trying to estimate parameters/initial conditions in an ODE system built with Catalyst.jl. I first find the steady-state using a callback, and then in a separate simulation I add some input to get my actual desir…

---

## [Need help with makie animation](https://discourse.julialang.org/t/need-help-with-makie-animation/112527)

<div class="topic-metadata">

**Author:** [@oddsen](https://discourse.julialang.org/u/oddsen)\
**Replies:** 1\
**Last updated:** [April 4, 2024, 3:54pm UTC](https://discourse.julialang.org/t/need-help-with-makie-animation/112527 "2024-04-04T15:54:56Z")

</div>

This is my code : I want to create an animation or slide illustrating the movement of my points on a sphere as the variable ‘i’ increases from 1 to ‘Stop’. This will allow me to visualize the trajectory of my three p…

---

## [IDA is allocating a lot](https://discourse.julialang.org/t/ida-is-allocating-a-lot/112383)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 28\
**Last updated:** [April 4, 2024, 10:06am UTC](https://discourse.julialang.org/t/ida-is-allocating-a-lot/112383 "2024-04-04T10:06:24Z")

</div>

I am using the IDA solver from Sundials.jl to solve a system of DAEs. It works fine, but each time step needs a lot of allocations, even though my callback function does not allocate at all. MWE: using KiteModels kps4…

---

## [ModelingToolkit.jl for material flow analyis (MFA)](https://discourse.julialang.org/t/modelingtoolkit-jl-for-material-flow-analyis-mfa/112454)

<div class="topic-metadata">

**Author:** [@gvdeynde](https://discourse.julialang.org/u/gvdeynde)\
**Replies:** 1\
**Last updated:** [April 4, 2024, 8:18am UTC](https://discourse.julialang.org/t/modelingtoolkit-jl-for-material-flow-analyis-mfa/112454 "2024-04-04T08:18:33Z")

</div>

I was wondering if there are any people working on material flow analysis problems using ModelingToolkit.jl? And has developed/is working on extensions like the ones in ModelingToolkitStandardLibrary.jl? MFA tracks mate…

---

## [What is still needed in the Julia ecosystem to make a good data science microservice in Julia?](https://discourse.julialang.org/t/what-is-still-needed-in-the-julia-ecosystem-to-make-a-good-data-science-microservice-in-julia/112446)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 1\
**Last updated:** [April 3, 2024, 10:34pm UTC](https://discourse.julialang.org/t/what-is-still-needed-in-the-julia-ecosystem-to-make-a-good-data-science-microservice-in-julia/112446 "2024-04-03T22:34:44Z")

</div>

Julia is a language with a focus on the data science ecosystem. However, integrating Julia into existing ecosystem can be challenging. Targeting data science microservice can be a good way to increase Julia use and allow…

---

## [MUMPS returned INFO(1) = -9 and requires more memory, reallocating](https://discourse.julialang.org/t/mumps-returned-info-1-9-and-requires-more-memory-reallocating/112466)

<div class="topic-metadata">

**Author:** [@Jack21](https://discourse.julialang.org/u/Jack21)\
**Replies:** 3\
**Last updated:** [April 3, 2024, 9:06pm UTC](https://discourse.julialang.org/t/mumps-returned-info-1-9-and-requires-more-memory-reallocating/112466 "2024-04-03T21:06:43Z")

</div>

Hello everyone! I have recently run into this message when using JuMP with the Ipopt solver. From what I can tell, it is due to MUMPS reaching its memory limit, and it changes a variable, which then slows down every ite…

---

## [How can I read the names of variables/object stored/saved/written in a file using HDF5 in Julia](https://discourse.julialang.org/t/how-can-i-read-the-names-of-variables-object-stored-saved-written-in-a-file-using-hdf5-in-julia/43204)

<div class="topic-metadata">

**Author:** [@Ujku\_KU](https://discourse.julialang.org/u/Ujku_KU)\
**Replies:** 11\
**Last updated:** [April 3, 2024, 3:55pm UTC](https://discourse.julialang.org/t/how-can-i-read-the-names-of-variables-object-stored-saved-written-in-a-file-using-hdf5-in-julia/43204 "2024-04-03T15:55:40Z")

</div>

Hi guys, I hope you all have been safe from this covid19 virus. I have built a code that runs different experiments and automatically build folders for those experiments and inside them subfolders for for different para…

---

## [Method error composing quadqk and forwarddiff](https://discourse.julialang.org/t/method-error-composing-quadqk-and-forwarddiff/112461)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 8\
**Last updated:** [April 3, 2024, 10:51am UTC](https://discourse.julialang.org/t/method-error-composing-quadqk-and-forwarddiff/112461 "2024-04-03T10:51:26Z")

</div>

Greetings! Listed below is a small piece of code that composes QuadGK and ForwardDiff and that fails. Including the resulting method error message for the function extract\_derivative(). I have two questions regarding thi…

---

## [Correct way to define vectorized variables and constraints with JuMP](https://discourse.julialang.org/t/correct-way-to-define-vectorized-variables-and-constraints-with-jump/112401)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 1\
**Last updated:** [April 2, 2024, 7:03pm UTC](https://discourse.julialang.org/t/correct-way-to-define-vectorized-variables-and-constraints-with-jump/112401 "2024-04-02T19:03:24Z")

</div>

using JuMP # Block1 M = Model() @variable(M, x\[1:3\] \>= 1) # Block2 M = Model() @variable(M, x\[1:3\] .\>= 1) # Block3 M = Model() @variable(M, x\[1:3\]) @constraint(M, x\[1:3\] \>= 1) # Block4 M = Model() @variable(M, x\[…

---

## [How to tweak tick label position in Makie?](https://discourse.julialang.org/t/how-to-tweak-tick-label-position-in-makie/60085)

<div class="topic-metadata">

**Author:** [@ederag](https://discourse.julialang.org/u/ederag)\
**Replies:** 3\
**Last updated:** [April 2, 2024, 6:31pm UTC](https://discourse.julialang.org/t/how-to-tweak-tick-label-position-in-makie/60085 "2024-04-02T18:31:11Z")

</div>

The new layout system is awesome, and the basic and layout tutorials gave very good explanations. After reading all the docs, in particular the Modifying ticks section, I see how to set the ticks strings (otherwise th…

---

## [Unsatisfiable requirements error when adding Clarabel.jl thru package manager](https://discourse.julialang.org/t/unsatisfiable-requirements-error-when-adding-clarabel-jl-thru-package-manager/112431)

<div class="topic-metadata">

**Author:** [@charshaw](https://discourse.julialang.org/u/charshaw)\
**Replies:** 4\
**Last updated:** [April 2, 2024, 6:29pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-error-when-adding-clarabel-jl-thru-package-manager/112431 "2024-04-02T18:29:08Z")

</div>

I went to add Clarabel.jl thru the package manager and received the following error message ERROR: Unsatisfiable requirements detected for package Clarabel \[61c947e1\]: Clarabel \[61c947e1\] log: ├─possible versions are:…

---

## [Makie - Reuse axis / Clear plots](https://discourse.julialang.org/t/makie-reuse-axis-clear-plots/58160)

<div class="topic-metadata">

**Author:** [@nandoconde](https://discourse.julialang.org/u/nandoconde)\
**Replies:** 6\
**Last updated:** [April 2, 2024, 4:31pm UTC](https://discourse.julialang.org/t/makie-reuse-axis-clear-plots/58160 "2024-04-02T16:31:56Z")

</div>

Hello!! Is there a way to clean everything that has been plot into an Axis but keepong the axis? I know of convenient methods to create a new Axis within a given fugure, passing a Dict with parameters in order to set i…

---

## [Problem when assessing parameter identifiability using ODE system built with @mtkbuild](https://discourse.julialang.org/t/problem-when-assessing-parameter-identifiability-using-ode-system-built-with-mtkbuild/112418)

<div class="topic-metadata">

**Author:** [@giro](https://discourse.julialang.org/u/giro)\
**Replies:** 2\
**Last updated:** [April 2, 2024, 3:32pm UTC](https://discourse.julialang.org/t/problem-when-assessing-parameter-identifiability-using-ode-system-built-with-mtkbuild/112418 "2024-04-02T15:32:46Z")

</div>

Hello, I have built several models of protein dynamics with ModelingToolkit.jl (using @mtkmodel and @mtkbuild) and I would like to perform a parameter identifiability assessement with StructuralIdentifiability.jl. But …

---

## [In search for a Julia analog of an R's package](https://discourse.julialang.org/t/in-search-for-a-julia-analog-of-an-rs-package/112413)

<div class="topic-metadata">

**Author:** [@vvbond](https://discourse.julialang.org/u/vvbond)\
**Replies:** 4\
**Last updated:** [April 2, 2024, 1:31pm UTC](https://discourse.julialang.org/t/in-search-for-a-julia-analog-of-an-rs-package/112413 "2024-04-02T13:31:44Z")

</div>

My question is motivated by the need for a quick Deming regression computation. In R, it is included in the mcr, Method Comparison Regression, package. Alas, my search for a Julia’s alternative wasn’t successful, despit…

---

## [Infinite Loop Issue with HiGHS Solver in Julia-JuMP During Sensitivity Analysis](https://discourse.julialang.org/t/infinite-loop-issue-with-highs-solver-in-julia-jump-during-sensitivity-analysis/110470)

<div class="topic-metadata">

**Author:** [@vicente\_zehnder](https://discourse.julialang.org/u/vicente_zehnder)\
**Replies:** 16\
**Last updated:** [April 2, 2024, 12:10pm UTC](https://discourse.julialang.org/t/infinite-loop-issue-with-highs-solver-in-julia-jump-during-sensitivity-analysis/110470 "2024-04-02T12:10:54Z")

</div>

I’m encountering a problem while running a sensitivity analysis for an optimization problem in Julia using JuMP and the HiGHS solver. Initially, the model execution time varies between 5 to 20 minutes for different input…

---

## [How can I use NonlinearSolve.jl with matrix functions?](https://discourse.julialang.org/t/how-can-i-use-nonlinearsolve-jl-with-matrix-functions/112379)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 8\
**Last updated:** [April 2, 2024, 11:06am UTC](https://discourse.julialang.org/t/how-can-i-use-nonlinearsolve-jl-with-matrix-functions/112379 "2024-04-02T11:06:52Z")

</div>

I want to use NonlinearSolve.jl with matrix functions, something like: using NonlinearSolve using LinearAlgebra dim = 2 function f(u, p) return exp(u) - Matrix{Float64}(I(dim)) end u0 = rand(dim, dim) \* 0.01 p = n…

---

## [SDDP with Quasi Monte Carlo sampling](https://discourse.julialang.org/t/sddp-with-quasi-monte-carlo-sampling/112370)

<div class="topic-metadata">

**Author:** [@FelixSchmidt](https://discourse.julialang.org/u/FelixSchmidt)\
**Replies:** 2\
**Last updated:** [April 2, 2024, 9:03am UTC](https://discourse.julialang.org/t/sddp-with-quasi-monte-carlo-sampling/112370 "2024-04-02T09:03:31Z")

</div>

Hi Oscar (@odow), I am working on a SDDP implementation of a capacity expansion problem using SDDP.jl. I suspect that convergence could be improved by using a type of stratified sampling scheme in the forward pass, such…

---

## [Resolving Almost Optimal solution in Clarabel (Tulip does well)](https://discourse.julialang.org/t/resolving-almost-optimal-solution-in-clarabel-tulip-does-well/112319)

<div class="topic-metadata">

**Author:** [@J\_T](https://discourse.julialang.org/u/J_T)\
**Replies:** 3\
**Last updated:** [April 2, 2024, 8:32am UTC](https://discourse.julialang.org/t/resolving-almost-optimal-solution-in-clarabel-tulip-does-well/112319 "2024-04-02T08:32:18Z")

</div>

I have a (for the moment) linear minimisation problem, but there is a related non-linear problem I wish to solve. Its a branch and bound problem, and the range of values is quite plausibly going to cause numerical probl…

---

## [On the solution of an unbounded optimization problem](https://discourse.julialang.org/t/on-the-solution-of-an-unbounded-optimization-problem/112373)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 2\
**Last updated:** [April 2, 2024, 1:38am UTC](https://discourse.julialang.org/t/on-the-solution-of-an-unbounded-optimization-problem/112373 "2024-04-02T01:38:19Z")

</div>

using JuMP, HiGHS M = Model(HiGHS.Optimizer) @variable(M, y, Bin) @variable(M, η) @objective(M, Min, y + η) optimize!(M) The result: Running HiGHS 1.7.0 (git hash: 50670fd4c): Copyright (c) 2024 HiGHS under MIT licenc…

---

## [Marginal water value while using SDDP.jl](https://discourse.julialang.org/t/marginal-water-value-while-using-sddp-jl/112169)

<div class="topic-metadata">

**Author:** [@Sorooshsa](https://discourse.julialang.org/u/Sorooshsa)\
**Replies:** 7\
**Last updated:** [April 2, 2024, 12:24am UTC](https://discourse.julialang.org/t/marginal-water-value-while-using-sddp-jl/112169 "2024-04-02T00:24:54Z")

</div>

I have a multi-stage stochastic hydro-electric scheduling problem that SDDP.jl models and solves. The model includes a set of constraints related to water level control. So now I’d like to determine the reservoirs’ mar…

---

## [Math support for GPU kernels](https://discourse.julialang.org/t/math-support-for-gpu-kernels/112381)

<div class="topic-metadata">

**Author:** [@fwinter](https://discourse.julialang.org/u/fwinter)\
**Replies:** 3\
**Last updated:** [April 1, 2024, 8:15pm UTC](https://discourse.julialang.org/t/math-support-for-gpu-kernels/112381 "2024-04-01T20:15:52Z")

</div>

I was hoping you could provide some insight into the process of incorporating support for mathematical functions (such as sin, cos, sqrt, etc.) in GPU kernels. Within the ROCm installation, there exists a file located a…

---

## [Are Enzyme's custom rules for sparse arrays different from regular Matrix?](https://discourse.julialang.org/t/are-enzymes-custom-rules-for-sparse-arrays-different-from-regular-matrix/112352)

<div class="topic-metadata">

**Author:** [@ToPo](https://discourse.julialang.org/u/ToPo)\
**Replies:** 3\
**Last updated:** [April 1, 2024, 6:14am UTC](https://discourse.julialang.org/t/are-enzymes-custom-rules-for-sparse-arrays-different-from-regular-matrix/112352 "2024-04-01T06:14:00Z")

</div>

I am creating custom rules for sparse arrays in Enzyme, an automatic differentiation package. The following program is a custom rule for the computation of matrix adds of type SparseMatrixCSC. using SparseArrays #-----…

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

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