# Specific Domains

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

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

**Page:** 85

---

## [Set options of \`Clarabel.jl\` via the \`Convex.jl\` interface](https://discourse.julialang.org/t/set-options-of-clarabel-jl-via-the-convex-jl-interface/119538)

<div class="topic-metadata">

**Author:** [@DanDoe](https://discourse.julialang.org/u/DanDoe)\
**Replies:** 3\
**Last updated:** [September 18, 2024, 8:37am UTC](https://discourse.julialang.org/t/set-options-of-clarabel-jl-via-the-convex-jl-interface/119538 "2024-09-18T08:37:58Z")

</div>

For the ECOS.jl solver I can do the following: solve!(problem, # Parameters taken from default values for EiCOS Convex.MOI.OptimizerWithAttributes(ECOS.Optimizer, "b" =\> 0.99, …

---

## [Minimize discrete time objective](https://discourse.julialang.org/t/minimize-discrete-time-objective/118665)

<div class="topic-metadata">

**Author:** [@Kunsag](https://discourse.julialang.org/u/Kunsag)\
**Replies:** 3\
**Last updated:** [August 27, 2024, 4:43pm UTC](https://discourse.julialang.org/t/minimize-discrete-time-objective/118665 "2024-08-27T16:43:40Z")

</div>

Hi, I’m currently trying to model an optimization problem in which the aim is to find time-dependent optimal decisions. I was able to reduce my current question to a minimal example. \\text{minimize } t\\\\ \\text{s.t. } f…

---

## [Caveats to reusing CuArray memory by changing .dims?](https://discourse.julialang.org/t/caveats-to-reusing-cuarray-memory-by-changing-dims/119429)

<div class="topic-metadata">

**Author:** [@eldee](https://discourse.julialang.org/u/eldee)\
**Replies:** 6\
**Last updated:** [September 18, 2024, 7:35am UTC](https://discourse.julialang.org/t/caveats-to-reusing-cuarray-memory-by-changing-dims/119429 "2024-09-18T07:35:37Z")

</div>

Hi, I have a situation where I’m creating and processing some data on the GPU in a loop. This data is a 3D tensor whose size (nx, ny, nz) can change every iteration, but there are clear upper bounds for the size of each…

---

## [Type unstable in NonlinearSolve.jl](https://discourse.julialang.org/t/type-unstable-in-nonlinearsolve-jl/119533)

<div class="topic-metadata">

**Author:** [@aaoo](https://discourse.julialang.org/u/aaoo)\
**Replies:** 3\
**Last updated:** [September 18, 2024, 2:45am UTC](https://discourse.julialang.org/t/type-unstable-in-nonlinearsolve-jl/119533 "2024-09-18T02:45:17Z")

</div>

I am using NonlinearSolve.jl to solve a system of nonlinear equations. The @code\_warntype macro gives Any type when I use NonlinearProblem, see code below. When I wrapped this code into a larger outer function, the type …

---

## [Nlsolver vs Matlab fsolve](https://discourse.julialang.org/t/nlsolver-vs-matlab-fsolve/119523)

<div class="topic-metadata">

**Author:** [@w17n2411](https://discourse.julialang.org/u/w17n2411)\
**Replies:** 6\
**Last updated:** [September 17, 2024, 9:03pm UTC](https://discourse.julialang.org/t/nlsolver-vs-matlab-fsolve/119523 "2024-09-17T21:03:37Z")

</div>

I have some code to solve a system of nonlinear equations given some state variables (both in Matlab and Julia). The solution is quite sensitive and I have to use homotopy to solve it for a variety of points in the state…

---

## [Delusional drone in RxInfer example](https://discourse.julialang.org/t/delusional-drone-in-rxinfer-example/117057)

<div class="topic-metadata">

**Author:** [@Andreas\_Poulsen](https://discourse.julialang.org/u/Andreas_Poulsen)\
**Replies:** 6\
**Last updated:** [September 17, 2024, 3:38pm UTC](https://discourse.julialang.org/t/delusional-drone-in-rxinfer-example/117057 "2024-09-17T15:38:26Z")

</div>

Hi I am recreating the drone example from https://github.com/ReactiveBayes/RxInferExamples.jl/blob/main/drone/drone\_simulation.ipynb. It occured to me, that the plot/animation is based on the models posteriors. Does thi…

---

## [How can I solve this 4-equation NonlinearSystem? It gives \`retcode: Unstable\`](https://discourse.julialang.org/t/how-can-i-solve-this-4-equation-nonlinearsystem-it-gives-retcode-unstable/119384)

<div class="topic-metadata">

**Author:** [@JohsEnevoldsen](https://discourse.julialang.org/u/JohsEnevoldsen)\
**Replies:** 8\
**Last updated:** [September 17, 2024, 12:29pm UTC](https://discourse.julialang.org/t/how-can-i-solve-this-4-equation-nonlinearsystem-it-gives-retcode-unstable/119384 "2024-09-17T12:29:52Z")

</div>

I am trying to solve a system of equations with NonlinearSolve.jl and ModelingToolkit.jl. Specifically a simplified version of Stewart’s model for Acid-Base disturbances in blood (Independence of Variables in Stewart's …

---

## [Meshes.jl - CartesianGrid - FaceElement connectivity](https://discourse.julialang.org/t/meshes-jl-cartesiangrid-faceelement-connectivity/119473)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 8\
**Last updated:** [September 16, 2024, 9:14pm UTC](https://discourse.julialang.org/t/meshes-jl-cartesiangrid-faceelement-connectivity/119473 "2024-09-16T21:14:06Z")

</div>

How can I build the face-element connectivity of a 2D CartesianGrid in Meshes.jl ? Thx!

---

## [Access acceptance rate parameter for AdvancedMH in Turing](https://discourse.julialang.org/t/access-acceptance-rate-parameter-for-advancedmh-in-turing/119149)

<div class="topic-metadata">

**Author:** [@Zoe\_R](https://discourse.julialang.org/u/Zoe_R)\
**Replies:** 5\
**Last updated:** [September 16, 2024, 8:47pm UTC](https://discourse.julialang.org/t/access-acceptance-rate-parameter-for-advancedmh-in-turing/119149 "2024-09-16T20:47:24Z")

</div>

I have a Bayesian model set up using Turing.jl and I am currently using AdvancedMH random walk proposals in the sampler. I would like to check on the acceptance rate (number of accepted proposals/number of proposals) so …

---

## [New colorscheme for Plots.jl 2.0](https://discourse.julialang.org/t/new-colorscheme-for-plots-jl-2-0/117841)

<div class="topic-metadata">

**Author:** [@BeastyBlacksmith](https://discourse.julialang.org/u/BeastyBlacksmith)\
**Replies:** 9\
**Last updated:** [September 16, 2024, 7:08pm UTC](https://discourse.julialang.org/t/new-colorscheme-for-plots-jl-2-0/117841 "2024-09-16T19:08:00Z")

</div>

For the upcoming Plots.jl 2.0 we are thinking about changing the default colorschemes. We identified 3 potential candidates for a new color palette and 4 potential gradients. You can see the combinations in action in thi…

---

## [CUDA and NVTX fail to precompile on cluster](https://discourse.julialang.org/t/cuda-and-nvtx-fail-to-precompile-on-cluster/119434)

<div class="topic-metadata">

**Author:** [@bulbul](https://discourse.julialang.org/u/bulbul)\
**Replies:** 7\
**Last updated:** [September 16, 2024, 1:43pm UTC](https://discourse.julialang.org/t/cuda-and-nvtx-fail-to-precompile-on-cluster/119434 "2024-09-16T13:43:27Z")

</div>

I am trying to use CUDA on my university cluster. If I try ‘’’ using CUDA ‘’’ I get the following error(s) (I have removed the Stacktraces): ‘’’ ERROR: LoadError: InitError: could not load library “/path-to-home/.jul…

---

## [Changing the faceset where the force is acting to another location and change the Force vector Values](https://discourse.julialang.org/t/changing-the-faceset-where-the-force-is-acting-to-another-location-and-change-the-force-vector-values/119339)

<div class="topic-metadata">

**Author:** [@kings94](https://discourse.julialang.org/u/kings94)\
**Replies:** 2\
**Last updated:** [September 14, 2024, 1:34pm UTC](https://discourse.julialang.org/t/changing-the-faceset-where-the-force-is-acting-to-another-location-and-change-the-force-vector-values/119339 "2024-09-14T13:34:07Z")

</div>

So i am currently tring to run a simulation on a simple beam using the arc length method, where for a certain number of increments a certain load (in the negative x direction) is applied with specific boundary conditions…

---

## [Extra memory allocation when using closure with CUDA](https://discourse.julialang.org/t/extra-memory-allocation-when-using-closure-with-cuda/119407)

<div class="topic-metadata">

**Author:** [@0samuraiE](https://discourse.julialang.org/u/0samuraiE)\
**Replies:** 2\
**Last updated:** [September 15, 2024, 3:51pm UTC](https://discourse.julialang.org/t/extra-memory-allocation-when-using-closure-with-cuda/119407 "2024-09-15T15:51:47Z")

</div>

Hi all. I’ve been wondering about this for a long time, so I’m asking here. I show 2 benchmark functions. The only difference is former’s closure do not receive A as an argument while latter’s receive A. And the res…

---

## [Best way to import a CSV with a repeated structure](https://discourse.julialang.org/t/best-way-to-import-a-csv-with-a-repeated-structure/119377)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 5\
**Last updated:** [September 15, 2024, 11:31am UTC](https://discourse.julialang.org/t/best-way-to-import-a-csv-with-a-repeated-structure/119377 "2024-09-15T11:31:29Z")

</div>

Aside any comment on whoever published data with this layout, I have to import a CSV like this, where the data of interest is repeated on each day of the year: Does CSV.jl has options to load the (small) file at once…

---

## [Registering Expressions as JuMP variables in a loop](https://discourse.julialang.org/t/registering-expressions-as-jump-variables-in-a-loop/119223)

<div class="topic-metadata">

**Author:** [@theplatters](https://discourse.julialang.org/u/theplatters)\
**Replies:** 3\
**Last updated:** [September 15, 2024, 4:41am UTC](https://discourse.julialang.org/t/registering-expressions-as-jump-variables-in-a-loop/119223 "2024-09-15T04:41:30Z")

</div>

Hey guys, I have a project, where I create a model like this m = @model begin @exogenous data @exogenous consumption production\[1:71\] := inv(I - data.Ω) \* consumtion prices\[1:71\] := @maxc c(production) constraints(c…

---

## [Facing problems with Sundials.jl (ARKODE) with discrete callback](https://discourse.julialang.org/t/facing-problems-with-sundials-jl-arkode-with-discrete-callback/119278)

<div class="topic-metadata">

**Author:** [@humhongekamyaab](https://discourse.julialang.org/u/humhongekamyaab)\
**Replies:** 5\
**Last updated:** [September 14, 2024, 6:24am UTC](https://discourse.julialang.org/t/facing-problems-with-sundials-jl-arkode-with-discrete-callback/119278 "2024-09-14T06:24:39Z")

</div>

Hello everyone, I want to use CashKarp RK explicit algorithm (Numerical Recipe 2nd Edition RK) from Sundials.jl for my particular ODE system and need a discrete callback to do some manipulations after each time step. h…

---

## [Algorithms for non-square rootfinding](https://discourse.julialang.org/t/algorithms-for-non-square-rootfinding/119370)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 2\
**Last updated:** [September 13, 2024, 6:33pm UTC](https://discourse.julialang.org/t/algorithms-for-non-square-rootfinding/119370 "2024-09-13T18:33:13Z")

</div>

Consider a rootfinding problem f(x) = 0 in x \\in \\mathbb{R}^ n, where f is differentiable. Most texts I am familiar with assume that f: \\mathbb{R}^n \\to \\mathbb{R}^n, so implicitly the Jacobian J is square. But in e…

---

## [Discrete Non-Integer Design Variables in Evolutionary.jl](https://discourse.julialang.org/t/discrete-non-integer-design-variables-in-evolutionary-jl/119379)

<div class="topic-metadata">

**Author:** [@AkchurinDA](https://discourse.julialang.org/u/AkchurinDA)\
**Replies:** 0\
**Last updated:** [September 13, 2024, 4:49pm UTC](https://discourse.julialang.org/t/discrete-non-integer-design-variables-in-evolutionary-jl/119379 "2024-09-13T16:49:26Z")

</div>

Hi, Can I add discrete non-integer variable constraints such that my design variables are chosen from specified lists of available discrete values in Evolutionary.jl? I want something similar as in this MATLAB example:…

---

## [Signalling towards convergence of chain/ chains in turing](https://discourse.julialang.org/t/signalling-towards-convergence-of-chain-chains-in-turing/118441)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 5\
**Last updated:** [September 13, 2024, 8:31am UTC](https://discourse.julialang.org/t/signalling-towards-convergence-of-chain-chains-in-turing/118441 "2024-09-13T08:31:31Z")

</div>

Hello everyone :)… Based on my understanding of Turing based inference(case of NUTS). We see that during warmup time chain gets to convergence and then we collect samples. Now there are two things . when model is sim…

---

## [Convert SymPy.jl equation system to JuMP.jl Model](https://discourse.julialang.org/t/convert-sympy-jl-equation-system-to-jump-jl-model/119091)

<div class="topic-metadata">

**Author:** [@lufu](https://discourse.julialang.org/u/lufu)\
**Replies:** 5\
**Last updated:** [September 12, 2024, 11:07pm UTC](https://discourse.julialang.org/t/convert-sympy-jl-equation-system-to-jump-jl-model/119091 "2024-09-12T23:07:11Z")

</div>

Hello together, I am new to Julia and ran into a problem that I am stuck with for quite some while now. I want to convert equation systems from SymPy into JuMP Models. However, the symbolic variables and equations are …

---

## [Is it possible to create a non-normal distribution of agents on a grid using Agents.jl?](https://discourse.julialang.org/t/is-it-possible-to-create-a-non-normal-distribution-of-agents-on-a-grid-using-agents-jl/119351)

<div class="topic-metadata">

**Author:** [@tfranks](https://discourse.julialang.org/u/tfranks)\
**Replies:** 4\
**Last updated:** [September 12, 2024, 10:26pm UTC](https://discourse.julialang.org/t/is-it-possible-to-create-a-non-normal-distribution-of-agents-on-a-grid-using-agents-jl/119351 "2024-09-12T22:26:51Z")

</div>

Hello, Using Julia Agents.jl, I’ve built an agent-based model where the bank agents are plotted on a x-y axis and added to the grid by “add\_agents!.” This function adds the agents in a normal distribution as shown belo…

---

## [Question about eachindex behavior in DenseAxisArray in JuMP](https://discourse.julialang.org/t/question-about-eachindex-behavior-in-denseaxisarray-in-jump/119333)

<div class="topic-metadata">

**Author:** [@guilhermebodin](https://discourse.julialang.org/u/guilhermebodin)\
**Replies:** 1\
**Last updated:** [September 12, 2024, 9:35pm UTC](https://discourse.julialang.org/t/question-about-eachindex-behavior-in-denseaxisarray-in-jump/119333 "2024-09-12T21:35:13Z")

</div>

This is more of a question of whether this is expected behavior or a corner case that should not work correctly anyway. When we run this code the access of indices through the use of eachindex in dense axis array is not…

---

## [Recover weights of logistic regression using MLJ.jl](https://discourse.julialang.org/t/recover-weights-of-logistic-regression-using-mlj-jl/119331)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 0\
**Last updated:** [September 12, 2024, 2:55pm UTC](https://discourse.julialang.org/t/recover-weights-of-logistic-regression-using-mlj-jl/119331 "2024-09-12T14:55:07Z")

</div>

Hi all, I’m trying to see if I can recover the weights of the logistic regression from data I’m generating synthetically, but for some reason there is large error in the optimized weights when using MLJ.jl. To create t…

---

## [Ben Moll's Huggett code not consistent in Julia](https://discourse.julialang.org/t/ben-molls-huggett-code-not-consistent-in-julia/119327)

<div class="topic-metadata">

**Author:** [@Mehrdad\_Esfahani](https://discourse.julialang.org/u/Mehrdad_Esfahani)\
**Replies:** 4\
**Last updated:** [September 12, 2024, 2:51pm UTC](https://discourse.julialang.org/t/ben-molls-huggett-code-not-consistent-in-julia/119327 "2024-09-12T14:51:07Z")

</div>

I rewrote (translated) Ben Moll’s Matlab code for the Huggett model (partial equilibrium) in continuous time in Julia. When I change the value of the shocks, the concavity condition during the iteration fails. The Matlab…

---

## [How to make xlabelvisible = false in AoG](https://discourse.julialang.org/t/how-to-make-xlabelvisible-false-in-aog/119317)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 1\
**Last updated:** [September 12, 2024, 1:32pm UTC](https://discourse.julialang.org/t/how-to-make-xlabelvisible-false-in-aog/119317 "2024-09-12T13:32:53Z")

</div>

Imagine I have this figure: df = (; name = \["Anna", "Beatrix", "Claire"\], height\_meters = \[1.55, 1.76, 1.63\]) m = mapping(:name, :height\_meters) spec1 = data(df) \* m \* visual(BarPlot) f = Figure() draw!(f\[1, 1\], spec1)…

---

## [Discrete callback + Saving callback for changing parameters in DifferentialEquations doesn't work as intended](https://discourse.julialang.org/t/discrete-callback-saving-callback-for-changing-parameters-in-differentialequations-doesnt-work-as-intended/119277)

<div class="topic-metadata">

**Author:** [@alonsoC1s](https://discourse.julialang.org/u/alonsoC1s)\
**Replies:** 11\
**Last updated:** [September 12, 2024, 12:25pm UTC](https://discourse.julialang.org/t/discrete-callback-saving-callback-for-changing-parameters-in-differentialequations-doesnt-work-as-intended/119277 "2024-09-12T12:25:57Z")

</div>

Hi, I have been using DifferentialEquations.jl to solve a set of around 250 coupled SDEs that used to be solved with custom Euler-Maruyama. In the model this is simulating there is a parameter, an adjacency matrix, tha…

---

## [ModelingToolkit... documenting my models](https://discourse.julialang.org/t/modelingtoolkit-documenting-my-models/119310)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 5\
**Last updated:** [September 12, 2024, 12:00pm UTC](https://discourse.julialang.org/t/modelingtoolkit-documenting-my-models/119310 "2024-09-12T12:00:24Z")

</div>

A recurring problem as my ModelingToolkit \[MTK\] models get more complex… I am running a MTK model developed for my students, i.e., the model is complete in that it runs. I now have to create a problem document for the s…

---

## [Register\_symbolic with arrays: What am I doing wrong](https://discourse.julialang.org/t/register-symbolic-with-arrays-what-am-i-doing-wrong/118655)

<div class="topic-metadata">

**Author:** [@HSnowden](https://discourse.julialang.org/u/HSnowden)\
**Replies:** 11\
**Last updated:** [September 12, 2024, 11:52am UTC](https://discourse.julialang.org/t/register-symbolic-with-arrays-what-am-i-doing-wrong/118655 "2024-09-12T11:52:06Z")

</div>

Hello, I am unable to register a symbolic function that takes an array and returns a scalar. This makes me think I need to use register\_symbolic rather than the array counterpart. However, the array that is sent is a Ve…

---

## [Even Gurobi is too slow for my Minecraft problem](https://discourse.julialang.org/t/even-gurobi-is-too-slow-for-my-minecraft-problem/119231)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 10\
**Last updated:** [September 12, 2024, 10:28am UTC](https://discourse.julialang.org/t/even-gurobi-is-too-slow-for-my-minecraft-problem/119231 "2024-09-12T10:28:15Z")

</div>

Recently, I made a reactor designer for Minecraft Nuclearcraft. I even obtained a Gurobi license for it. Then, I tuned lots of parameters. I decided to tune up the cuts that happened a lot to be aggressive and I used the…

---

## [Keypoint based image registration using ImageTransformations.jl warp](https://discourse.julialang.org/t/keypoint-based-image-registration-using-imagetransformations-jl-warp/119158)

<div class="topic-metadata">

**Author:** [@LorMam](https://discourse.julialang.org/u/LorMam)\
**Replies:** 1\
**Last updated:** [September 12, 2024, 10:23am UTC](https://discourse.julialang.org/t/keypoint-based-image-registration-using-imagetransformations-jl-warp/119158 "2024-09-12T10:23:50Z")

</div>

I have given two images that I want to warp on top of on another based on a number (here 6) of key points. The key point coordinates are measured using ImageJ. First, I load the images, and the key points. using …

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

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