# Specific Domains

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

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

**Page:** 177

---

## [Bayesian inference in a subset of parameters using Turing.jl](https://discourse.julialang.org/t/bayesian-inference-in-a-subset-of-parameters-using-turing-jl/101944)

<div class="topic-metadata">

**Author:** [@Nick1](https://discourse.julialang.org/u/Nick1)\
**Replies:** 5\
**Last updated:** [July 25, 2023, 3:30am UTC](https://discourse.julialang.org/t/bayesian-inference-in-a-subset-of-parameters-using-turing-jl/101944 "2023-07-25T03:30:45Z")

</div>

Hi everyone. I am working on a large system of ODEs with ~100 parameters. I identified the sensitive parameters with Sobol method, and I would be interested in performing Bayesian inference on them, while keeping the non…

---

## [Cbc solver log level not working](https://discourse.julialang.org/t/cbc-solver-log-level-not-working/102050)

<div class="topic-metadata">

**Author:** [@Josa9321](https://discourse.julialang.org/u/Josa9321)\
**Replies:** 1\
**Last updated:** [July 25, 2023, 12:07am UTC](https://discourse.julialang.org/t/cbc-solver-log-level-not-working/102050 "2023-07-25T00:07:32Z")

</div>

Hi, people. When I use Cbc solver, the log level continues to appear. using JuMP, Cbc model = Model(Cbc.Optimizer) set\_attribute(model, "logLevel", 0) @variable(model, x\[1:2\] \>= 0) @constraints model begin c1, x\[1…

---

## [Makie two figures](https://discourse.julialang.org/t/makie-two-figures/102043)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 2\
**Last updated:** [July 24, 2023, 10:15pm UTC](https://discourse.julialang.org/t/makie-two-figures/102043 "2023-07-24T22:15:30Z")

</div>

in a jupyter notebook i can create multiple figures using GLMakie and look at them both at the same time. but on the julia REPL, GLMakie re-uses the same window, so i can’t have multiple figures open at once. i’ve look…

---

## [How can I substitute NaN in a GLM model with zeroes?](https://discourse.julialang.org/t/how-can-i-substitute-nan-in-a-glm-model-with-zeroes/102038)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 0\
**Last updated:** [July 24, 2023, 7:44pm UTC](https://discourse.julialang.org/t/how-can-i-substitute-nan-in-a-glm-model-with-zeroes/102038 "2023-07-24T19:44:03Z")

</div>

Hi all! I have a linear model, created with GLM.jl. Since I correlated some variables with a categorical one, I have lots of NaN as coefficients, when the data are provided for only some of the categorical values: juli…

---

## [Is LanguageServer.jl supposed to work with JuMP.jl?](https://discourse.julialang.org/t/is-languageserver-jl-supposed-to-work-with-jump-jl/102026)

<div class="topic-metadata">

**Author:** [@torgo](https://discourse.julialang.org/u/torgo)\
**Replies:** 1\
**Last updated:** [July 24, 2023, 3:59pm UTC](https://discourse.julialang.org/t/is-languageserver-jl-supposed-to-work-with-jump-jl/102026 "2023-07-24T15:59:00Z")

</div>

I get repeated Missing reference warnings in LanguageServer.jl when I use JuMP.jl models. For example: @variable(m, x \>= 0) The LS reports Missing reference: x. I can understand why LanguageServer.jl might have diffi…

---

## [Quantum operator algebra of creation and annhilation operators of fermions](https://discourse.julialang.org/t/quantum-operator-algebra-of-creation-and-annhilation-operators-of-fermions/102017)

<div class="topic-metadata">

**Author:** [@That\_ind](https://discourse.julialang.org/u/That_ind)\
**Replies:** 6\
**Last updated:** [July 24, 2023, 3:17pm UTC](https://discourse.julialang.org/t/quantum-operator-algebra-of-creation-and-annhilation-operators-of-fermions/102017 "2023-07-24T15:17:04Z")

</div>

Is there any package that does quantum operator algebra (i.e., algebra with non-commuting operators) in Julia? I need to calculate numerous commutators of fermions, so I hope the package can do the job with small time an…

---

## [JuMP developers' response to benchmarks by GAMS](https://discourse.julialang.org/t/jump-developers-response-to-benchmarks-by-gams/101920)

<div class="topic-metadata">

**Author:** [@miles.lubin](https://discourse.julialang.org/u/miles.lubin)\
**Replies:** 5\
**Last updated:** [July 24, 2023, 2:19pm UTC](https://discourse.julialang.org/t/jump-developers-response-to-benchmarks-by-gams/101920 "2023-07-24T14:19:38Z")

</div>

---

## [Launching a Metal kernel from a thread](https://discourse.julialang.org/t/launching-a-metal-kernel-from-a-thread/102010)

<div class="topic-metadata">

**Author:** [@f.ij](https://discourse.julialang.org/u/f.ij)\
**Replies:** 3\
**Last updated:** [July 24, 2023, 1:45pm UTC](https://discourse.julialang.org/t/launching-a-metal-kernel-from-a-thread/102010 "2023-07-24T13:45:40Z")

</div>

I’m trying to get into some basic GPU programming to run some analysis on data that would be unfeasible to run on the CPU. I have written a GPU kernel to compute the correlation length function of some data. I call this…

---

## [Is there a way to make the parts of a plot with less data more visible?](https://discourse.julialang.org/t/is-there-a-way-to-make-the-parts-of-a-plot-with-less-data-more-visible/102014)

<div class="topic-metadata">

**Author:** [@Axze-rgb](https://discourse.julialang.org/u/Axze-rgb)\
**Replies:** 2\
**Last updated:** [July 24, 2023, 1:23pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-make-the-parts-of-a-plot-with-less-data-more-visible/102014 "2023-07-24T13:23:44Z")

</div>

Hello, I am plotting a kernel density, and the right-end of the plot is hard to see, especially when shared on the web with reduced resolution. I am using this command q=Gadfly.plot(U, x=U.x, y=U.density, Geom.point, T…

---

## [How can I use @register\_symbolic inside of a function?](https://discourse.julialang.org/t/how-can-i-use-register-symbolic-inside-of-a-function/101734)

<div class="topic-metadata">

**Author:** [@retepz](https://discourse.julialang.org/u/retepz)\
**Replies:** 6\
**Last updated:** [July 24, 2023, 7:31am UTC](https://discourse.julialang.org/t/how-can-i-use-register-symbolic-inside-of-a-function/101734 "2023-07-24T07:31:00Z")

</div>

I want to solve a PDE-Problem that is a kind of an advection problem with dynamic boundary conditions. The PDE itself is solved with ModelingToolkit and Method of lines. the entire calculation should be called finally fr…

---

## [ERROR: LoadError: Scalar indexing is disallowed in tullio](https://discourse.julialang.org/t/error-loaderror-scalar-indexing-is-disallowed-in-tullio/101775)

<div class="topic-metadata">

**Author:** [@Nellatur](https://discourse.julialang.org/u/Nellatur)\
**Replies:** 4\
**Last updated:** [July 24, 2023, 3:45am UTC](https://discourse.julialang.org/t/error-loaderror-scalar-indexing-is-disallowed-in-tullio/101775 "2023-07-24T03:45:46Z")

</div>

For the following code using CUDA using Tullio using BenchmarkTools A = rand(500, 500) B = rand(500, 500) A\_d = CUDA.CuArray(A) B\_d = CUDA.CuArray(B) @btime @tullio C\_d\[i,k\] := A\_d\[i,j\] \* B\_d\[j,k\] C = Array(C\_d) I …

---

## [Question about Dagger's DTable](https://discourse.julialang.org/t/question-about-daggers-dtable/75790)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 5\
**Last updated:** [July 23, 2023, 10:55pm UTC](https://discourse.julialang.org/t/question-about-daggers-dtable/75790 "2023-07-23T22:55:50Z")

</div>

I am reading through the DTable docs. But I can’t seem to quite grasp it. Can I adapt DTable so that it can read from S3 path partitioned files? And the operate on the data? In the doc, it shows how to create a DTable …

---

## [Computing Irreducible Inconsistent Subsystem (IIS) to find infeasibility causes](https://discourse.julialang.org/t/computing-irreducible-inconsistent-subsystem-iis-to-find-infeasibility-causes/101864)

<div class="topic-metadata">

**Author:** [@Luiz\_Monteiro](https://discourse.julialang.org/u/Luiz_Monteiro)\
**Replies:** 2\
**Last updated:** [July 22, 2023, 10:11pm UTC](https://discourse.julialang.org/t/computing-irreducible-inconsistent-subsystem-iis-to-find-infeasibility-causes/101864 "2023-07-22T22:11:03Z")

</div>

Hi, I am trying to find infeasibility causes of a MIP model in JuMP with Gurobi solver using the comand: “compute\_conflict!(model1)”. The output result is copied below, but I dont know how to translate these result to i…

---

## [Derivation of powerflow equations with ideal transformer](https://discourse.julialang.org/t/derivation-of-powerflow-equations-with-ideal-transformer/101926)

<div class="topic-metadata">

**Author:** [@Anton\_Hinneck](https://discourse.julialang.org/u/Anton_Hinneck)\
**Replies:** 1\
**Last updated:** [July 22, 2023, 3:04pm UTC](https://discourse.julialang.org/t/derivation-of-powerflow-equations-with-ideal-transformer/101926 "2023-07-22T15:04:47Z")

</div>

Hi, I am looking for a citable source (book or article) deriving the power flow equations used in PowerModels.jl - including an ideal transformer as such: Mathematical Model · PowerModels (lanl-ansi.github.io) I woul…

---

## [Performance: Julia/JuMP vs. Python/Pyomo](https://discourse.julialang.org/t/performance-julia-jump-vs-python-pyomo/92044)

<div class="topic-metadata">

**Author:** [@Justine](https://discourse.julialang.org/u/Justine)\
**Replies:** 18\
**Last updated:** [July 9, 2023, 9:26pm UTC](https://discourse.julialang.org/t/performance-julia-jump-vs-python-pyomo/92044 "2023-07-09T21:26:06Z")

</div>

Dear all, I could use some good help from the experts here. I was about to translate an optimization model from Python/Pyomo to Julia/JuMP, expecting that Julia/JuMP would outperform Python’s Pyomo. However, model gener…

---

## [FoldsCUDA not working with simple reduction](https://discourse.julialang.org/t/foldscuda-not-working-with-simple-reduction/101917)

<div class="topic-metadata">

**Author:** [@RobertGregg](https://discourse.julialang.org/u/RobertGregg)\
**Replies:** 1\
**Last updated:** [July 22, 2023, 7:58am UTC](https://discourse.julialang.org/t/foldscuda-not-working-with-simple-reduction/101917 "2023-07-22T07:58:52Z")

</div>

I was trying to find the largest error between two matrix columns and I wanted to try parallelizing it on the GPU: using FLoops using CUDA using FoldsCUDA #To loop through all column pairs allpairs(v) = ((i,j) for j in…

---

## [Using Numerical Integration and ApproxFun in Turing.jl](https://discourse.julialang.org/t/using-numerical-integration-and-approxfun-in-turing-jl/101850)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 12\
**Last updated:** [July 21, 2023, 5:13pm UTC](https://discourse.julialang.org/t/using-numerical-integration-and-approxfun-in-turing-jl/101850 "2023-07-21T17:13:09Z")

</div>

I’m trying to write some code to “show how it works” when it comes to imposing high quality prior information on a Bayesian regression problem. I’m running into implementation issues and could use some thoughts @stevengj …

---

## [Why repeat precompilation when running 'test DifferentialEquations'?](https://discourse.julialang.org/t/why-repeat-precompilation-when-running-test-differentialequations/101831)

<div class="topic-metadata">

**Author:** [@Henri\_Laurie](https://discourse.julialang.org/u/Henri_Laurie)\
**Replies:** 1\
**Last updated:** [July 21, 2023, 5:58am UTC](https://discourse.julialang.org/t/why-repeat-precompilation-when-running-test-differentialequations/101831 "2023-07-21T05:58:36Z")

</div>

I’ve just installed v1.9.2 (became available for Manjaro), and reinstalled the DifferentialEquations package. Out of curiosity, ran Pkg.test on it (actually just from Pkg manager prompt) and it repeated the precompilatio…

---

## [DSSS encoding/ decoding](https://discourse.julialang.org/t/dsss-encoding-decoding/101857)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [July 20, 2023, 11:47pm UTC](https://discourse.julialang.org/t/dsss-encoding-decoding/101857 "2023-07-20T23:47:49Z")

</div>

Hello, I am trying to implement DSSS encoding/ decoding in Julia. Any hints how to start? Encoding: input: low frequent signal input: digital secret sequence filter: bandwidth filter output: analog (sampled) spread …

---

## [Inspection Feature in Agents.jl only showing position of agents](https://discourse.julialang.org/t/inspection-feature-in-agents-jl-only-showing-position-of-agents/101854)

<div class="topic-metadata">

**Author:** [@daler6](https://discourse.julialang.org/u/daler6)\
**Replies:** 0\
**Last updated:** [July 20, 2023, 9:17pm UTC](https://discourse.julialang.org/t/inspection-feature-in-agents-jl-only-showing-position-of-agents/101854 "2023-07-20T21:17:26Z")

</div>

I have worked through the tutorials for Agent.jl, as well as recreating the schelling.jl model. I have run into a problem with the Agent Inspection feature. I have no problem being able to inspect the agents, but rather …

---

## [SLOW\_PROGRESS error and an unusual bug](https://discourse.julialang.org/t/slow-progress-error-and-an-unusual-bug/101700)

<div class="topic-metadata">

**Author:** [@selvi-aras](https://discourse.julialang.org/u/selvi-aras)\
**Replies:** 4\
**Last updated:** [July 20, 2023, 8:51pm UTC](https://discourse.julialang.org/t/slow-progress-error-and-an-unusual-bug/101700 "2023-07-20T20:51:31Z")

</div>

Dear JuMP Community, I have previously asked a question where Huber regression gave slow progress error in MOSEK. I am now facing similar (and even bigger) issues in logistic regression and I would like to understand if…

---

## [Equality constrain to NLopt](https://discourse.julialang.org/t/equality-constrain-to-nlopt/101852)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 2\
**Last updated:** [July 20, 2023, 8:44pm UTC](https://discourse.julialang.org/t/equality-constrain-to-nlopt/101852 "2023-07-20T20:44:54Z")

</div>

Hi, I am doing topology optimization. I have seen some tutorials. I want to add volume constrain to my model as below: v/v0=f which v is material volume and v0 is domain volume and f is volume fraction. could you plea…

---

## [Lasso and Ridge regularization](https://discourse.julialang.org/t/lasso-and-ridge-regularization/101851)

<div class="topic-metadata">

**Author:** [@T\_J](https://discourse.julialang.org/u/T_J)\
**Replies:** 1\
**Last updated:** [July 20, 2023, 8:06pm UTC](https://discourse.julialang.org/t/lasso-and-ridge-regularization/101851 "2023-07-20T20:06:54Z")

</div>

Hello to all, How can I include Lasso and Ridge Regularization in SciML? I am using the Lotka-Volterra case as an example. Original loss function loss(θ) X̂ = predict(θ) mean(abs2, Xₙ .- X̂) end Is this corr…

---

## [Status of SearchLight.jl](https://discourse.julialang.org/t/status-of-searchlight-jl/101815)

<div class="topic-metadata">

**Author:** [@Dreycen\_Foiles](https://discourse.julialang.org/u/Dreycen_Foiles)\
**Replies:** 1\
**Last updated:** [July 20, 2023, 5:14pm UTC](https://discourse.julialang.org/t/status-of-searchlight-jl/101815 "2023-07-20T17:14:25Z")

</div>

I’m in the process of setting up a database for my research team and since I’ve come to like Julia, I was really happy to see that the Genie.jl framework has SearchLight.jl to interface with databases. From the explanati…

---

## [Number of times loss function is called](https://discourse.julialang.org/t/number-of-times-loss-function-is-called/101834)

<div class="topic-metadata">

**Author:** [@T\_J](https://discourse.julialang.org/u/T_J)\
**Replies:** 4\
**Last updated:** [July 20, 2023, 3:08pm UTC](https://discourse.julialang.org/t/number-of-times-loss-function-is-called/101834 "2023-07-20T15:08:32Z")

</div>

Hi, In the Lotka-Volterra system, I have placed: function loss(θ) println("loss is called") X̂ = predict(θ) mean(abs2, Xₙ .- X̂) end losses = Float64\[\] callback = function (p, l) push!(losses, l) …

---

## [JuMP raw expr input](https://discourse.julialang.org/t/jump-raw-expr-input/101795)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 1\
**Last updated:** [July 20, 2023, 2:15pm UTC](https://discourse.julialang.org/t/jump-raw-expr-input/101795 "2023-07-20T14:15:18Z")

</div>

Hi all, as far as I can see, raw Expr input is only supported for nonlinear expressions (Nonlinear Modeling · JuMP), is there some reason why it is not allowed for affine expressions?

---

## [Rolling Horizon Implementation](https://discourse.julialang.org/t/rolling-horizon-implementation/23048)

<div class="topic-metadata">

**Author:** [@Seanny123](https://discourse.julialang.org/u/Seanny123)\
**Replies:** 2\
**Last updated:** [July 20, 2023, 2:01pm UTC](https://discourse.julialang.org/t/rolling-horizon-implementation/23048 "2023-07-20T14:01:10Z")

</div>

I have an optimization problem with a long time period (96 steps). Reading some papers \[1\]\[2\], it seems a common way to reduce the optimization time of a Mixed Integer Linear Programming problem is to use something calle…

---

## [How to resample (downscale) a one-hot encoded (boolean) raster?](https://discourse.julialang.org/t/how-to-resample-downscale-a-one-hot-encoded-boolean-raster/101828)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 6\
**Last updated:** [July 20, 2023, 1:51pm UTC](https://discourse.julialang.org/t/how-to-resample-downscale-a-one-hot-encoded-boolean-raster/101828 "2023-07-20T13:51:10Z")

</div>

Hello, I have “one-hot” encoded a 1x1km soil category raster, so I have a raster representing a specific soil class, 0 when is not in the class, and 1 otherwise. I would now downscale it to match my actual other data a…

---

## [Problem fitting density function data](https://discourse.julialang.org/t/problem-fitting-density-function-data/97085)

<div class="topic-metadata">

**Author:** [@daro.slai](https://discourse.julialang.org/u/daro.slai)\
**Replies:** 4\
**Last updated:** [July 20, 2023, 1:43pm UTC](https://discourse.julialang.org/t/problem-fitting-density-function-data/97085 "2023-07-20T13:43:33Z")

</div>

I have a dataset from Elaad. Which looks like this: the idea is to fit a given Distribution::D to the data. I wanted to try a couple of ideas but the fit needs to handle both the bins and the probability data. I´ve…

---

## [Can we use GLPK library in GPU programming?](https://discourse.julialang.org/t/can-we-use-glpk-library-in-gpu-programming/101697)

<div class="topic-metadata">

**Author:** [@Jayesh\_Patil](https://discourse.julialang.org/u/Jayesh_Patil)\
**Replies:** 16\
**Last updated:** [July 18, 2023, 1:51pm UTC](https://discourse.julialang.org/t/can-we-use-glpk-library-in-gpu-programming/101697 "2023-07-18T13:51:38Z")

</div>

i am trying to apply constraints on array such that the element present in array which are greater than 1 and 4, are completely divisible by that element. and such elements are stored in another array. How can I do that …

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

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