# Specific Domains

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

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

**Page:** 110

---

## [Makie col/rowsize for grid, unexpected(?) behaviour](https://discourse.julialang.org/t/makie-col-rowsize-for-grid-unexpected-behaviour/114671)

<div class="topic-metadata">

**Author:** [@aris](https://discourse.julialang.org/u/aris)\
**Replies:** 4\
**Last updated:** [May 27, 2024, 10:48am UTC](https://discourse.julialang.org/t/makie-col-rowsize-for-grid-unexpected-behaviour/114671 "2024-05-27T10:48:43Z")

</div>

Greetings everyone, Suppose we have the following figure in GLMakie: using GLMakie f = Figure() Axis(f\[1, 1\]) Axis(f\[2, 1\]) Axis(f\[2, 2\]) colsize!(f.layout, 1, Fixed(300)) rowsize!(f.layout, 2, Fixed(300)) rowsize!(…

---

## [Differential evolution MCMC in Julia?](https://discourse.julialang.org/t/differential-evolution-mcmc-in-julia/104713)

<div class="topic-metadata">

**Author:** [@fnoessler](https://discourse.julialang.org/u/fnoessler)\
**Replies:** 18\
**Last updated:** [May 26, 2024, 10:32pm UTC](https://discourse.julialang.org/t/differential-evolution-mcmc-in-julia/104713 "2024-05-26T22:32:47Z")

</div>

Hello, is there a Julia package that implements the Differential Evolution MCMC sampler? Is this possible with Turing.jl (I like Turing.jl quite a lot)? At the moment, I use the BayesianTools R package that implements…

---

## [Would it be possible to make a 4X game AI that plays well with MILP?](https://discourse.julialang.org/t/would-it-be-possible-to-make-a-4x-game-ai-that-plays-well-with-milp/114708)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 9\
**Last updated:** [May 26, 2024, 3:30pm UTC](https://discourse.julialang.org/t/would-it-be-possible-to-make-a-4x-game-ai-that-plays-well-with-milp/114708 "2024-05-26T15:30:34Z")

</div>

4X games like civilization, Stellaris, endless legends, etc… are known to have bad AI. The games often fix this issue by giving AI a massive handicap. This often restricts players into going into strategies that can nega…

---

## [Decision-dependent randomness in SDDP.jl](https://discourse.julialang.org/t/decision-dependent-randomness-in-sddp-jl/114625)

<div class="topic-metadata">

**Author:** [@mothmani](https://discourse.julialang.org/u/mothmani)\
**Replies:** 6\
**Last updated:** [May 26, 2024, 1:45pm UTC](https://discourse.julialang.org/t/decision-dependent-randomness-in-sddp-jl/114625 "2024-05-26T13:45:16Z")

</div>

Hi everyone, I’m quite new to Julia and SDDP and may ask a silly question. I’m trying to optimize the preventive replacement of some devices over several stages. I assume that know the lifetime distribution of the devi…

---

## [Nlopt forced stop](https://discourse.julialang.org/t/nlopt-forced-stop/114727)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 2\
**Last updated:** [May 26, 2024, 1:05am UTC](https://discourse.julialang.org/t/nlopt-forced-stop/114727 "2024-05-26T01:05:00Z")

</div>

Hi, I am using Nlopt for a gradient based optimization. It stopes after 4 iterations and returns forced stop and the output is not converged. Could you please tell me how can I find the problem which makes optimizer to f…

---

## [How to train MLJ model on DataFrame, but apply on Vector of Arrays?](https://discourse.julialang.org/t/how-to-train-mlj-model-on-dataframe-but-apply-on-vector-of-arrays/114669)

<div class="topic-metadata">

**Author:** [@niltsz](https://discourse.julialang.org/u/niltsz)\
**Replies:** 2\
**Last updated:** [May 25, 2024, 5:44pm UTC](https://discourse.julialang.org/t/how-to-train-mlj-model-on-dataframe-but-apply-on-vector-of-arrays/114669 "2024-05-25T17:44:36Z")

</div>

I train my MLJ Model (EvoTrees.jl) on a Julia DataFrame with the scalars x1, x2, and x3 as features and y as label. However, when doing the inference, I have higher dimensional arrays instead of tabular data. Any suggest…

---

## [Vern9 from differentialequations.jl and ode89 from matlab](https://discourse.julialang.org/t/vern9-from-differentialequations-jl-and-ode89-from-matlab/114587)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 15\
**Last updated:** [May 25, 2024, 8:00am UTC](https://discourse.julialang.org/t/vern9-from-differentialequations-jl-and-ode89-from-matlab/114587 "2024-05-25T08:00:17Z")

</div>

Hello, I am calculating a solution for the system using Vern9() in Julia and ode89 in Matlab. I get a message about instability in Julia while there is no such thing in matlab. If I change the abstol, reltol in julia to…

---

## [Computing variance of variables is very slow in JuMP](https://discourse.julialang.org/t/computing-variance-of-variables-is-very-slow-in-jump/114660)

<div class="topic-metadata">

**Author:** [@Shuhua](https://discourse.julialang.org/u/Shuhua)\
**Replies:** 3\
**Last updated:** [May 25, 2024, 12:19am UTC](https://discourse.julialang.org/t/computing-variance-of-variables-is-very-slow-in-jump/114660 "2024-05-25T00:19:28Z")

</div>

Consider the small code snippet below using JuMP using Statistics model = Model() n = 1000 @variable(model, x\[1:n\], Bin) @time @objective(model, Min, var(x .\* rand(n))) The timing is 162.785950 seconds (93.08 k alloc…

---

## [Time-series analysis - Probabilistic inference on RQA ( SymbolicInference.jl)](https://discourse.julialang.org/t/time-series-analysis-probabilistic-inference-on-rqa-symbolicinference-jl/114701)

<div class="topic-metadata">

**Author:** [@fargolo](https://discourse.julialang.org/u/fargolo)\
**Replies:** 0\
**Last updated:** [May 24, 2024, 8:15pm UTC](https://discourse.julialang.org/t/time-series-analysis-probabilistic-inference-on-rqa-symbolicinference-jl/114701 "2024-05-24T20:15:40Z")

</div>

How it started The SymbolicInference.jl package uses Analytic Combinatorics to perform probabilistic inference over certain combinatorial classes. The first application is explained in this white paper Probabilistic in…

---

## [Using MH() with a custom proposal and acceptance rate of 1 to emulate traditional Gibbs?](https://discourse.julialang.org/t/using-mh-with-a-custom-proposal-and-acceptance-rate-of-1-to-emulate-traditional-gibbs/114653)

<div class="topic-metadata">

**Author:** [@aws](https://discourse.julialang.org/u/aws)\
**Replies:** 1\
**Last updated:** [May 24, 2024, 4:01pm UTC](https://discourse.julialang.org/t/using-mh-with-a-custom-proposal-and-acceptance-rate-of-1-to-emulate-traditional-gibbs/114653 "2024-05-24T16:01:46Z")

</div>

Hello, Thank you in advance for reading. I am a researcher considering whether to use Turing for a project. As background, I will be implementing and extending a sparse infinite Bayesian factor model as described in Spa…

---

## [I'm failing at "deploy"ing my first web-app with Dash.jl on JuliaHub](https://discourse.julialang.org/t/im-failing-at-deploy-ing-my-first-web-app-with-dash-jl-on-juliahub/114683)

<div class="topic-metadata">

**Author:** [@sadish-d](https://discourse.julialang.org/u/sadish-d)\
**Replies:** 5\
**Last updated:** [May 24, 2024, 3:55pm UTC](https://discourse.julialang.org/t/im-failing-at-deploy-ing-my-first-web-app-with-dash-jl-on-juliahub/114683 "2024-05-24T15:55:13Z")

</div>

I have made a local package that takes data and sonifies it (sonification is when you map data to sound as opposed to visualization where you map it to visuals/graphs.) I now want to make some of its functionality access…

---

## [Turing.jl slow inference](https://discourse.julialang.org/t/turing-jl-slow-inference/114525)

<div class="topic-metadata">

**Author:** [@langestefan](https://discourse.julialang.org/u/langestefan)\
**Replies:** 8\
**Last updated:** [May 24, 2024, 3:01pm UTC](https://discourse.julialang.org/t/turing-jl-slow-inference/114525 "2024-05-24T15:01:25Z")

</div>

Hi, I have specified the following model in Turing.jl: \\begin{align} e^{\\mathcal{L}C\_\\mathrm{i}}\\dot{T}\_\\mathrm{i} =& e^{{\\mathcal{L}A\_\\mathrm{w}}}\\Phi\_{\\mathrm{s}}(t) + e^{-\\mathcal{L}R\_{\\mathrm{ih}}} \\left\[T\_{\\mat…

---

## [How to stop a long-running optimization process in JuMP?](https://discourse.julialang.org/t/how-to-stop-a-long-running-optimization-process-in-jump/114656)

<div class="topic-metadata">

**Author:** [@Shuhua](https://discourse.julialang.org/u/Shuhua)\
**Replies:** 6\
**Last updated:** [May 24, 2024, 2:31pm UTC](https://discourse.julialang.org/t/how-to-stop-a-long-running-optimization-process-in-jump/114656 "2024-05-24T14:31:46Z")

</div>

Some optimization problem can be quite time-consuming. I used JuMP in Jupyter notebook (VS Code) and Julia REPL. After optimize! is called, the optimization starts, and sometimes I want to interrupt it. However The sto…

---

## [Matrix inversion in ModellingToolkit](https://discourse.julialang.org/t/matrix-inversion-in-modellingtoolkit/114515)

<div class="topic-metadata">

**Author:** [@rveynde](https://discourse.julialang.org/u/rveynde)\
**Replies:** 3\
**Last updated:** [May 24, 2024, 2:29pm UTC](https://discourse.julialang.org/t/matrix-inversion-in-modellingtoolkit/114515 "2024-05-24T14:29:16Z")

</div>

Hi all, I am trying to perform matrix inversion on a 2-dimensional variable in ModellingToolkit, but I get a MethodError that there is no matching method. Is there some implementation of matrix inversion that I could use…

---

## [Order of parameters in ODEProblem](https://discourse.julialang.org/t/order-of-parameters-in-odeproblem/114672)

<div class="topic-metadata">

**Author:** [@langestefan](https://discourse.julialang.org/u/langestefan)\
**Replies:** 1\
**Last updated:** [May 24, 2024, 12:56pm UTC](https://discourse.julialang.org/t/order-of-parameters-in-odeproblem/114672 "2024-05-24T12:56:48Z")

</div>

Hi, I defined an ODE problem in ModelingToolkit.jl, as such: using ModelingToolkit using ModelingToolkit: t\_nounits as t, D\_nounits as D using ModelingToolkitStandardLibrary.Blocks using DataInterpolations using Ordina…

---

## [What is the best way to modify existing or add new optimizer in Optim?](https://discourse.julialang.org/t/what-is-the-best-way-to-modify-existing-or-add-new-optimizer-in-optim/114553)

<div class="topic-metadata">

**Author:** [@PetrosStefanou](https://discourse.julialang.org/u/PetrosStefanou)\
**Replies:** 4\
**Last updated:** [May 24, 2024, 7:59am UTC](https://discourse.julialang.org/t/what-is-the-best-way-to-modify-existing-or-add-new-optimizer-in-optim/114553 "2024-05-24T07:59:24Z")

</div>

Hi everyone, I am wondering what would be the best way to modify an existing optimizer or add a totally new on in Optim. My interest is modify the update formula of the inverse Hessian approximation in BFGS algorithm. …

---

## [Nicer way to plug an R function into the RHS of an ODEProblem?](https://discourse.julialang.org/t/nicer-way-to-plug-an-r-function-into-the-rhs-of-an-odeproblem/114640)

<div class="topic-metadata">

**Author:** [@sdwfrost](https://discourse.julialang.org/u/sdwfrost)\
**Replies:** 6\
**Last updated:** [May 23, 2024, 9:26pm UTC](https://discourse.julialang.org/t/nicer-way-to-plug-an-r-function-into-the-rhs-of-an-odeproblem/114640 "2024-05-23T21:26:59Z")

</div>

Hi All, I’m trying to plug an R function into an ODEProblem in OrdinaryDiffEq. The below code works, but is there a simple way to make the code neater e.g. define ODEProblem in terms of an RObject? using OrdinaryDiffEq…

---

## [Convert continuous time (ODESystem) to discrete time system?](https://discourse.julialang.org/t/convert-continuous-time-odesystem-to-discrete-time-system/114597)

<div class="topic-metadata">

**Author:** [@sdwfrost](https://discourse.julialang.org/u/sdwfrost)\
**Replies:** 4\
**Last updated:** [May 23, 2024, 7:46pm UTC](https://discourse.julialang.org/t/convert-continuous-time-odesystem-to-discrete-time-system/114597 "2024-05-23T19:46:50Z")

</div>

I’d like to take a continuous time ODE, and convert it to a discrete time system, along the lines of c2d in ControlSystems.jl. Here’s the ODE version: Here’s the discrete-time equivalent: I suspect that this is ea…

---

## [Custom L2Loss in DiffEqParamEstim.jl](https://discourse.julialang.org/t/custom-l2loss-in-diffeqparamestim-jl/114618)

<div class="topic-metadata">

**Author:** [@MarcoDellOro](https://discourse.julialang.org/u/MarcoDellOro)\
**Replies:** 2\
**Last updated:** [May 23, 2024, 12:19pm UTC](https://discourse.julialang.org/t/custom-l2loss-in-diffeqparamestim-jl/114618 "2024-05-23T12:19:38Z")

</div>

Hello everyone, I am very new to Julia, so I apologise if the question sounds super dumb to you guys. I am trying to implement a Moving Horizon Estimation algorithm for parameter estimation, which I did in Matlab CasAD…

---

## [Multi Input Multi Output CNN with Flux](https://discourse.julialang.org/t/multi-input-multi-output-cnn-with-flux/114624)

<div class="topic-metadata">

**Author:** [@cojiro182](https://discourse.julialang.org/u/cojiro182)\
**Replies:** 0\
**Last updated:** [May 23, 2024, 12:08pm UTC](https://discourse.julialang.org/t/multi-input-multi-output-cnn-with-flux/114624 "2024-05-23T12:08:45Z")

</div>

Hi, I am super new to machine learning and the Flux.jl package and I am having trouble setting up my model. I am effectively trying to train a dataset of 3 images to predict an output of 2 different images. The inputs a…

---

## [Yearly comparison of Optimization Libraries](https://discourse.julialang.org/t/yearly-comparison-of-optimization-libraries/110165)

<div class="topic-metadata">

**Author:** [@bdas123](https://discourse.julialang.org/u/bdas123)\
**Replies:** 6\
**Last updated:** [May 23, 2024, 11:59am UTC](https://discourse.julialang.org/t/yearly-comparison-of-optimization-libraries/110165 "2024-05-23T11:59:46Z")

</div>

Hello! Does the Julia community have a yearly contest between different optimization libraries against hidden benchmark problems?

---

## [Add title and axis labels using abmplot](https://discourse.julialang.org/t/add-title-and-axis-labels-using-abmplot/114593)

<div class="topic-metadata">

**Author:** [@daler6](https://discourse.julialang.org/u/daler6)\
**Replies:** 1\
**Last updated:** [May 23, 2024, 11:54am UTC](https://discourse.julialang.org/t/add-title-and-axis-labels-using-abmplot/114593 "2024-05-23T11:54:52Z")

</div>

Hi, I am using the abmplot function in Agents.jl to plot the location of my agents. It is plotting the agents fine, but I would like to add a title and axis labels. Nothing I have done seems to work. I am using CairoMak…

---

## [Is there a minimal package for Windows Bitmap (\*.bmp) files?](https://discourse.julialang.org/t/is-there-a-minimal-package-for-windows-bitmap-bmp-files/114501)

<div class="topic-metadata">

**Author:** [@kimikage](https://discourse.julialang.org/u/kimikage)\
**Replies:** 4\
**Last updated:** [May 23, 2024, 6:07am UTC](https://discourse.julialang.org/t/is-there-a-minimal-package-for-windows-bitmap-bmp-files/114501 "2024-05-23T06:07:56Z")

</div>

Is there a package with minimal dependencies that supports loading and saving Windows Bitmap (\*.bmp) files? At present, ImageMagick.jl and OpenCV.jl are registered in the registry of FileIO.jl. They are prone to compa…

---

## [Jordan norm in julia](https://discourse.julialang.org/t/jordan-norm-in-julia/114500)

<div class="topic-metadata">

**Author:** [@swsw](https://discourse.julialang.org/u/swsw)\
**Replies:** 6\
**Last updated:** [May 23, 2024, 6:06am UTC](https://discourse.julialang.org/t/jordan-norm-in-julia/114500 "2024-05-23T06:06:22Z")

</div>

Is there a way to do jordan decomposition or find out the jordan norm of a n\*n matrix in julia? I see the following one but the function jordan\_form is not available in SymPy.jl. Any insight?

---

## [Cutting graphs at bridges](https://discourse.julialang.org/t/cutting-graphs-at-bridges/114533)

<div class="topic-metadata">

**Author:** [@Ken\_Williams](https://discourse.julialang.org/u/Ken_Williams)\
**Replies:** 4\
**Last updated:** [May 22, 2024, 2:57pm UTC](https://discourse.julialang.org/t/cutting-graphs-at-bridges/114533 "2024-05-22T14:57:31Z")

</div>

I’ve got a directed MetaGraphNext object g, which I’d like to run some algorithms on. I’ve run b = bridges(Graph(g.graph)) (since bridges apparently can’t be computed on a MetaGraph or a directed graph) to get a list of…

---

## [How to check reliably whether a function has a zero on an interval '\[0,a)'](https://discourse.julialang.org/t/how-to-check-reliably-whether-a-function-has-a-zero-on-an-interval-0-a/114560)

<div class="topic-metadata">

**Author:** [@paul188](https://discourse.julialang.org/u/paul188)\
**Replies:** 5\
**Last updated:** [May 22, 2024, 5:23pm UTC](https://discourse.julialang.org/t/how-to-check-reliably-whether-a-function-has-a-zero-on-an-interval-0-a/114560 "2024-05-22T17:23:52Z")

</div>

Let’s say I have a continuous (even smooth) function f(x) which is defined on the whole real line. Now, I want to know whether f(x) has a zero in \[0, ∞). I can say for sure that if it has a zero on this ray, this zero m…

---

## [Sol.interp and sol.k DifferentialEquations.jl](https://discourse.julialang.org/t/sol-interp-and-sol-k-differentialequations-jl/114372)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 11\
**Last updated:** [May 22, 2024, 3:04pm UTC](https://discourse.julialang.org/t/sol-interp-and-sol-k-differentialequations-jl/114372 "2024-05-22T15:04:23Z")

</div>

Hello, please help me understand what it is sol.interp, sol.k and is there any way not to save them? I found that they take up quite a lot of RAM, which is why ubuntu 24.04 freezes. Thank you for your helps! Code: usi…

---

## [Bug at solve method for Universall Differential Equations?](https://discourse.julialang.org/t/bug-at-solve-method-for-universall-differential-equations/114566)

<div class="topic-metadata">

**Author:** [@Alergy](https://discourse.julialang.org/u/Alergy)\
**Replies:** 1\
**Last updated:** [May 22, 2024, 2:07pm UTC](https://discourse.julialang.org/t/bug-at-solve-method-for-universall-differential-equations/114566 "2024-05-22T14:07:41Z")

</div>

I am trying to somewhat emulate the Universal Differential Equations tutorial, with a little twist. What I want to do is to learn the parameters of both a Differential Equation AND a Neural Network. Here is the only cod…

---

## [How to show progress when using DifferentialEquations.jl?](https://discourse.julialang.org/t/how-to-show-progress-when-using-differentialequations-jl/104168)

<div class="topic-metadata">

**Author:** [@yhchang96](https://discourse.julialang.org/u/yhchang96)\
**Replies:** 10\
**Last updated:** [May 22, 2024, 10:16am UTC](https://discourse.julialang.org/t/how-to-show-progress-when-using-differentialequations-jl/104168 "2024-05-22T10:16:48Z")

</div>

The ODEs I’m solving typically takes an hour and I would like it to print the current time step for every, e.g. 10 time steps. I have tried the method shown on this page about progress bar, but it doesn’t work (i.e. noth…

---

## [How to convert a point from a given 2D crs to another one](https://discourse.julialang.org/t/how-to-convert-a-point-from-a-given-2d-crs-to-another-one/114549)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 6\
**Last updated:** [May 22, 2024, 9:49am UTC](https://discourse.julialang.org/t/how-to-convert-a-point-from-a-given-2d-crs-to-another-one/114549 "2024-05-22T09:49:27Z")

</div>

I thought it would be easy, but I can’t find a way to programmatically convert (and extract the X,Y values) a 2D point from a given well known reference point to another one. For example, I have a point in “EPSG:4326”, …

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

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