# Specific Domains

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

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

**Page:** 124

---

## [Zero Order Extinction Reaction](https://discourse.julialang.org/t/zero-order-extinction-reaction/108749)

<div class="topic-metadata">

**Author:** [@kkakosim](https://discourse.julialang.org/u/kkakosim)\
**Replies:** 21\
**Last updated:** [March 27, 2024, 3:25pm UTC](https://discourse.julialang.org/t/zero-order-extinction-reaction/108749 "2024-03-27T15:25:57Z")

</div>

Is there any way to achieve the positive\_domain effect with the Catalyst.jl syntax? In my example (decomposition of CaC2 yielding Calcium gas and solid Carbon): CaC2 → Ca(g) + 2C(s) I am looking for a way to “remove” …

---

## [Poor time performance in modifying parameters of JuMP models when using Gurobi](https://discourse.julialang.org/t/poor-time-performance-in-modifying-parameters-of-jump-models-when-using-gurobi/106982)

<div class="topic-metadata">

**Author:** [@NataponW](https://discourse.julialang.org/u/NataponW)\
**Replies:** 11\
**Last updated:** [March 27, 2024, 2:44pm UTC](https://discourse.julialang.org/t/poor-time-performance-in-modifying-parameters-of-jump-models-when-using-gurobi/106982 "2024-03-27T14:44:19Z")

</div>

Hello, I have a large LP model that I want to iteratively solve over changing parameters. Up until now, using set\_normalized\_rhs and set\_normalized\_coefficient works very well when HiGHS is an optimizer. However, when I…

---

## [What are IFFxM methods is StochasticDiffEq.jl?](https://discourse.julialang.org/t/what-are-iffxm-methods-is-stochasticdiffeq-jl/111899)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 1\
**Last updated:** [March 27, 2024, 9:12am UTC](https://discourse.julialang.org/t/what-are-iffxm-methods-is-stochasticdiffeq-jl/111899 "2024-03-27T09:12:34Z")

</div>

What are these methods in StochasticDiffEq.jl and in which papers are they described? They are declared and implemented, but they seem to be undocumented. Or have a different name.

---

## [Inferring missing values in a Turing.jl model](https://discourse.julialang.org/t/inferring-missing-values-in-a-turing-jl-model/112166)

<div class="topic-metadata">

**Author:** [@affans](https://discourse.julialang.org/u/affans)\
**Replies:** 1\
**Last updated:** [March 27, 2024, 4:48am UTC](https://discourse.julialang.org/t/inferring-missing-values-in-a-turing-jl-model/112166 "2024-03-27T04:48:15Z")

</div>

I have a very simple model that doesn’t seem to work when I try to infer values for missing variable. I will try to explain the model and provide fully reproducible, self-contained code. I know it’s long post but I’ve br…

---

## [Implementing a squarewave: Can't take remainder of InfiniteOpt.GeneralVariableRef](https://discourse.julialang.org/t/implementing-a-squarewave-cant-take-remainder-of-infiniteopt-generalvariableref/111955)

<div class="topic-metadata">

**Author:** [@lpz18](https://discourse.julialang.org/u/lpz18)\
**Replies:** 1\
**Last updated:** [March 27, 2024, 1:50am UTC](https://discourse.julialang.org/t/implementing-a-squarewave-cant-take-remainder-of-infiniteopt-generalvariableref/111955 "2024-03-27T01:50:25Z")

</div>

I have a squarewave implemented like so: function sqw(t; period::Float64=1, duty::Float64=0.5) return t % period \< duty\*period ? 1.0 : 0.0 end I am running an InfiniteOpt.jl optimization where I pass in sqw as a param…

---

## [Callback function to set negative values to zero](https://discourse.julialang.org/t/callback-function-to-set-negative-values-to-zero/111902)

<div class="topic-metadata">

**Author:** [@Nick1](https://discourse.julialang.org/u/Nick1)\
**Replies:** 8\
**Last updated:** [March 26, 2024, 11:52pm UTC](https://discourse.julialang.org/t/callback-function-to-set-negative-values-to-zero/111902 "2024-03-26T23:52:33Z")

</div>

I have an ODE system of 60 equations and run multiple simulations with different sets of parameters. I want to prevent the outputs from taking any negative values since it is not physically plausible. I currently use som…

---

## [What is the equivalent Julia code for statsmodels.api.OLS](https://discourse.julialang.org/t/what-is-the-equivalent-julia-code-for-statsmodels-api-ols/112070)

<div class="topic-metadata">

**Author:** [@Shayan](https://discourse.julialang.org/u/Shayan)\
**Replies:** 15\
**Last updated:** [March 26, 2024, 10:17pm UTC](https://discourse.julialang.org/t/what-is-the-equivalent-julia-code-for-statsmodels-api-ols/112070 "2024-03-26T22:17:58Z")

</div>

I want to write the equivalent Julia code for the following Python code: import statsmodels.api as sm reg = sm.OLS(Y,sm.add\_constant(X)) res = reg.fit() res.params\[1\]/res.bse\[1\] The copilot asserts that the equivalent …

---

## [How to speed up model generation in JuMP?](https://discourse.julialang.org/t/how-to-speed-up-model-generation-in-jump/112050)

<div class="topic-metadata">

**Author:** [@SantoshSharma](https://discourse.julialang.org/u/SantoshSharma)\
**Replies:** 7\
**Last updated:** [March 26, 2024, 8:59pm UTC](https://discourse.julialang.org/t/how-to-speed-up-model-generation-in-jump/112050 "2024-03-26T20:59:56Z")

</div>

I have a large-scale scenarios-based optimization model that takes a long time to solve on JuMP and Julia using the Gurobi solver. While solving the constructed model using Gurobi (as it uses all available cores) is quic…

---

## [CPLEX - Setting branching priority](https://discourse.julialang.org/t/cplex-setting-branching-priority/11644)

<div class="topic-metadata">

**Author:** [@Lefteris\_Manousakis](https://discourse.julialang.org/u/Lefteris_Manousakis)\
**Replies:** 9\
**Last updated:** [March 26, 2024, 7:41pm UTC](https://discourse.julialang.org/t/cplex-setting-branching-priority/11644 "2024-03-26T19:41:37Z")

</div>

Hi all! I have been trying to set branching priority (in CPLEX) for a set of my variables (z) but I cannot do it. I tried using the linear indices and the internal model, but I get a method not found error. Source cod…

---

## [Questionable Zygote gradients for quantum optimal control problem](https://discourse.julialang.org/t/questionable-zygote-gradients-for-quantum-optimal-control-problem/112060)

<div class="topic-metadata">

**Author:** [@goerz](https://discourse.julialang.org/u/goerz)\
**Replies:** 6\
**Last updated:** [March 26, 2024, 6:06pm UTC](https://discourse.julialang.org/t/questionable-zygote-gradients-for-quantum-optimal-control-problem/112060 "2024-03-26T18:06:32Z")

</div>

I’m testing out a gradient-based optimization of some (quantum) dynamical system using AD over a simulation with OrdinaryDiffEq. The “quantum” here really just means that the dynamical state is complex-valued, not real-v…

---

## [AD of Neural ODEs with \`SplitODEProblem\` using Zygote or Enzyme](https://discourse.julialang.org/t/ad-of-neural-odes-with-splitodeproblem-using-zygote-or-enzyme/112114)

<div class="topic-metadata">

**Author:** [@xkykai](https://discourse.julialang.org/u/xkykai)\
**Replies:** 1\
**Last updated:** [March 26, 2024, 2:29pm UTC](https://discourse.julialang.org/t/ad-of-neural-odes-with-splitodeproblem-using-zygote-or-enzyme/112114 "2024-03-26T14:29:53Z")

</div>

Hello, I am trying to perform AD in the Neural ODE setup using a SplitODEProblem as it is a PDE discretization of the diffusion equation which is rather stiff when using explicit timesteppers. The neural network appears …

---

## [Biotools instalation](https://discourse.julialang.org/t/biotools-instalation/112116)

<div class="topic-metadata">

**Author:** [@perrochico](https://discourse.julialang.org/u/perrochico)\
**Replies:** 6\
**Last updated:** [March 26, 2024, 4:00am UTC](https://discourse.julialang.org/t/biotools-instalation/112116 "2024-03-26T04:00:05Z")

</div>

Hello! i have a situation installation Biotools and idk even what is about. A screenshoot of my problem

---

## [Change value of a constant in the objective function](https://discourse.julialang.org/t/change-value-of-a-constant-in-the-objective-function/112082)

<div class="topic-metadata">

**Author:** [@pedroripper](https://discourse.julialang.org/u/pedroripper)\
**Replies:** 2\
**Last updated:** [March 26, 2024, 12:37am UTC](https://discourse.julialang.org/t/change-value-of-a-constant-in-the-objective-function/112082 "2024-03-26T00:37:38Z")

</div>

Greetings, I have a JuMP model that is being instantiated at some point of my code. I will be running optimize!(model) several times and, for each, I would like to change the value of the coefficient given as a paramet…

---

## [Error in testset base/aqua, test failed at \\CUDA\\htRwP\\test\\base\\aqua.jl](https://discourse.julialang.org/t/error-in-testset-base-aqua-test-failed-at-cuda-htrwp-test-base-aqua-jl/111994)

<div class="topic-metadata">

**Author:** [@NikoBiele](https://discourse.julialang.org/u/NikoBiele)\
**Replies:** 2\
**Last updated:** [March 25, 2024, 7:36pm UTC](https://discourse.julialang.org/t/error-in-testset-base-aqua-test-failed-at-cuda-htrwp-test-base-aqua-jl/111994 "2024-03-25T19:36:39Z")

</div>

Hi all, First of all I appreciate all of the work that has been and is being put into making GPU programming possible in Julia. :slight\_smile: I am new to GPU programming, and I basically just installed CUDA.jl and tri…

---

## [Insight on QuadGK instability on backwards integration](https://discourse.julialang.org/t/insight-on-quadgk-instability-on-backwards-integration/112090)

<div class="topic-metadata">

**Author:** [@aner-sanchez](https://discourse.julialang.org/u/aner-sanchez)\
**Replies:** 2\
**Last updated:** [March 25, 2024, 5:58pm UTC](https://discourse.julialang.org/t/insight-on-quadgk-instability-on-backwards-integration/112090 "2024-03-25T17:58:00Z")

</div>

Has someone an insight on why julia\> quadgk(s-\>(1-s)^(-0.9),0,1,rtol=1e-6,atol=1e-8,maxevals=10^10) (9.772220920299885, 0.011179284983380677) julia\> quadgk(s-\>s^(-0.9),0,1) (9.999999279144092, 1.4665863410199572e-7) c…

---

## [File picker for Makie](https://discourse.julialang.org/t/file-picker-for-makie/32295)

<div class="topic-metadata">

**Author:** [@miki\_berkovich](https://discourse.julialang.org/u/miki_berkovich)\
**Replies:** 4\
**Last updated:** [March 25, 2024, 5:15pm UTC](https://discourse.julialang.org/t/file-picker-for-makie/32295 "2024-03-25T17:15:58Z")

</div>

hello, i’m new to Makie and i’m trying to build a GUI to plot data from a CSV file. to load the file i want the user to choose a CSV and then pars the data to the plot. i was looking for something like the “filepicker”…

---

## [Why is Flux.destructure type unstable?](https://discourse.julialang.org/t/why-is-flux-destructure-type-unstable/111963)

<div class="topic-metadata">

**Author:** [@Iris\_Allevi](https://discourse.julialang.org/u/Iris_Allevi)\
**Replies:** 6\
**Last updated:** [March 25, 2024, 3:51pm UTC](https://discourse.julialang.org/t/why-is-flux-destructure-type-unstable/111963 "2024-03-25T15:51:04Z")

</div>

I was building a simple model and at some point I needed to “unroll” it to get all the parameters in an array. So I tired with Flux.destructure. I got some type instability, so I checked the documentation and I tried wi…

---

## [Matrix Dimension mismatch](https://discourse.julialang.org/t/matrix-dimension-mismatch/112073)

<div class="topic-metadata">

**Author:** [@Sharara](https://discourse.julialang.org/u/Sharara)\
**Replies:** 3\
**Last updated:** [March 25, 2024, 11:23am UTC](https://discourse.julialang.org/t/matrix-dimension-mismatch/112073 "2024-03-25T11:23:34Z")

</div>

Hi I checked all similar topics but, I think they did not match my case, I faced mismatch matrix size several times, for different conditions, (while I am sure the matrices and sizes are true and because I am trying t…

---

## [Set seed GLMNet.jl](https://discourse.julialang.org/t/set-seed-glmnet-jl/112071)

<div class="topic-metadata">

**Author:** [@Mariana](https://discourse.julialang.org/u/Mariana)\
**Replies:** 0\
**Last updated:** [March 25, 2024, 9:22am UTC](https://discourse.julialang.org/t/set-seed-glmnet-jl/112071 "2024-03-25T09:22:41Z")

</div>

Hello! I’m using GLMNet.jl to obtain a logistic regression model. How can I set a seed so that every time I run function glmnetcv with the same parameters I get the same result? Thank you!

---

## [Problem installing CPLEX.jl with CPLEX 22.1.1 on Mac OS](https://discourse.julialang.org/t/problem-installing-cplex-jl-with-cplex-22-1-1-on-mac-os/111967)

<div class="topic-metadata">

**Author:** [@mposs](https://discourse.julialang.org/u/mposs)\
**Replies:** 12\
**Last updated:** [March 25, 2024, 7:20am UTC](https://discourse.julialang.org/t/problem-installing-cplex-jl-with-cplex-22-1-1-on-mac-os/111967 "2024-03-25T07:20:23Z")

</div>

Hello I just installed CPLEX 22.1.1 poss@Mac-de-Michael x86-64\_osx % pwd /Applications/CPLEX\_Studio\_Community2211/cplex/bin/x86-64\_osx In configured CPLEX\_STUDIO\_BINARIES as requested: julia\> ENV\["CPLEX\_STUDIO\_BINARI…

---

## [PColormesh equivalent in Makie](https://discourse.julialang.org/t/pcolormesh-equivalent-in-makie/104075)

<div class="topic-metadata">

**Author:** [@dchang10](https://discourse.julialang.org/u/dchang10)\
**Replies:** 6\
**Last updated:** [March 25, 2024, 4:01am UTC](https://discourse.julialang.org/t/pcolormesh-equivalent-in-makie/104075 "2024-03-25T04:01:16Z")

</div>

I’m looking for a Makie equivalent to the matplotlib pcolormesh. I attempted to do this with the mesh plotting function in CairoMakie. I’m testing my code by trying to reproduce this plot from the pcolormesh documentati…

---

## [Features coefficients - GLMNet.jl](https://discourse.julialang.org/t/features-coefficients-glmnet-jl/112053)

<div class="topic-metadata">

**Author:** [@Mariana](https://discourse.julialang.org/u/Mariana)\
**Replies:** 0\
**Last updated:** [March 24, 2024, 9:53pm UTC](https://discourse.julialang.org/t/features-coefficients-glmnet-jl/112053 "2024-03-24T21:53:37Z")

</div>

Hello! I’m using GLMNet.jl to obtain a logistic regression model. My database contains 17 features. After training the model, how can I obtain the coefficients associated to each of these features, so it is possible to…

---

## [\[ANN\] NestedTerms.jl - concept](https://discourse.julialang.org/t/ann-nestedterms-jl-concept/112051)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 0\
**Last updated:** [March 24, 2024, 8:54pm UTC](https://discourse.julialang.org/t/ann-nestedterms-jl-concept/112051 "2024-03-24T20:54:03Z")

</div>

NestedTerms.jl is a concept package for correct nested terms fitting . Install import Pkg Pkg.add(url = "https://github.com/PharmCat/NestedTerms.jl.git") Example using NestedTerms using StatsModels, CSV, DataFrames, Ca…

---

## [Python pcolormesh() alternative in JULIA --\`Makie.convert\_arguments\` for the plot type MakieCore.Heatmap and its conversion trait MakieCore.CellGrid() was unsuccessful](https://discourse.julialang.org/t/python-pcolormesh-alternative-in-julia-makie-convert-arguments-for-the-plot-type-makiecore-heatmap-and-its-conversion-trait-makiecore-cellgrid-was-unsuccessful/111959)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 17\
**Last updated:** [March 24, 2024, 6:00pm UTC](https://discourse.julialang.org/t/python-pcolormesh-alternative-in-julia-makie-convert-arguments-for-the-plot-type-makiecore-heatmap-and-its-conversion-trait-makiecore-cellgrid-was-unsuccessful/111959 "2024-03-24T18:00:40Z")

</div>

I am using x,z as shown below in heatmap() input. I am getting error Makie.convert\_arguments for the plot type MakieCore.Heatmap and its conversion trait MakieCore.CellGrid() was unsuccessful. My code is :point\_down: …

---

## [Optimize Monte Carlo Simulation](https://discourse.julialang.org/t/optimize-monte-carlo-simulation/112032)

<div class="topic-metadata">

**Author:** [@Fourier](https://discourse.julialang.org/u/Fourier)\
**Replies:** 4\
**Last updated:** [March 24, 2024, 3:15pm UTC](https://discourse.julialang.org/t/optimize-monte-carlo-simulation/112032 "2024-03-24T15:15:23Z")

</div>

I have a monte carlo simulation that runs in an external program that I can call using julia. I would like to optiize the simulation result with respect to parameters in the simulation input. The values I get out of it,…

---

## [How to place a menu in GLMakie?](https://discourse.julialang.org/t/how-to-place-a-menu-in-glmakie/112025)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 7\
**Last updated:** [March 24, 2024, 11:56am UTC](https://discourse.julialang.org/t/how-to-place-a-menu-in-glmakie/112025 "2024-03-24T11:56:41Z")

</div>

I have the following code: using GLMakie const running = Observable(false) fig = Figure(size=(400, 400), backgroundcolor=RGBf(0.7, 0.8, 1)) sub\_fig = fig\[1,1\] fig\[2, 1\] = buttongrid = GridLayout(tellwidth=true) btn\_…

---

## [How do you speed up the linear sparse solver in Zygote?](https://discourse.julialang.org/t/how-do-you-speed-up-the-linear-sparse-solver-in-zygote/111801)

<div class="topic-metadata">

**Author:** [@ToPo](https://discourse.julialang.org/u/ToPo)\
**Replies:** 44\
**Last updated:** [March 24, 2024, 7:18am UTC](https://discourse.julialang.org/t/how-do-you-speed-up-the-linear-sparse-solver-in-zygote/111801 "2024-03-24T07:18:47Z")

</div>

I have confirmed that the standard Julia solver (backslash) can be used in the automatic differentiation of Zygote. Below is a sample program. (This program calculates the gradient.) However, while the forward computat…

---

## [Any Way to Track Variable Conversion When Writing JuMP Models to File?](https://discourse.julialang.org/t/any-way-to-track-variable-conversion-when-writing-jump-models-to-file/111996)

<div class="topic-metadata">

**Author:** [@rbassett3](https://discourse.julialang.org/u/rbassett3)\
**Replies:** 4\
**Last updated:** [March 24, 2024, 3:50am UTC](https://discourse.julialang.org/t/any-way-to-track-variable-conversion-when-writing-jump-models-to-file/111996 "2024-03-24T03:50:04Z")

</div>

I’ve created a JuMP model, which I wrote to conic benchmark format (cbf) and then solved with a solver that has a cbf input mechanism but isn’t a solver utilized in JuMP. I now have the solution to the cbf format as per…

---

## [DimensionMismatch error in creating semidefinite constraint in JuMP.jl](https://discourse.julialang.org/t/dimensionmismatch-error-in-creating-semidefinite-constraint-in-jump-jl/111969)

<div class="topic-metadata">

**Author:** [@Shuvomoy\_Das\_Gupta](https://discourse.julialang.org/u/Shuvomoy_Das_Gupta)\
**Replies:** 2\
**Last updated:** [March 23, 2024, 8:46pm UTC](https://discourse.julialang.org/t/dimensionmismatch-error-in-creating-semidefinite-constraint-in-jump-jl/111969 "2024-03-23T20:46:19Z")

</div>

Dear all, I have encountered a somewhat unintuitive error in creating the following semidefinte constraint in JuMP.jl. Sample code is as follows: # Create a JuMP model model = Model(optimizer\_with\_attributes(Mosek.Opt…

---

## [Reading ROOT file with Branches](https://discourse.julialang.org/t/reading-root-file-with-branches/112014)

<div class="topic-metadata">

**Author:** [@Fourier](https://discourse.julialang.org/u/Fourier)\
**Replies:** 3\
**Last updated:** [March 23, 2024, 8:27pm UTC](https://discourse.julialang.org/t/reading-root-file-with-branches/112014 "2024-03-23T20:27:16Z")

</div>

I have a root file with a tree, branches and leaves, like this: When I try to read it like using UnROOT like this: using UnROOT f = ROOTFile("out\_files/pienu00000-00.root") tree = LazyTree(f,"sim") I get a bounds …

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

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