# Specific Domains

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

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

**Page:** 140

---

## [Setting TimeLimit of BilevelJumP with MibS-solver](https://discourse.julialang.org/t/setting-timelimit-of-bileveljump-with-mibs-solver/108770)

<div class="topic-metadata">

**Author:** [@NKonti](https://discourse.julialang.org/u/NKonti)\
**Replies:** 3\
**Last updated:** [January 24, 2024, 10:01pm UTC](https://discourse.julialang.org/t/setting-timelimit-of-bileveljump-with-mibs-solver/108770 "2024-01-24T22:01:37Z")

</div>

Hello everyone, is it possible to set a time limit for the MibS solver? using JuMP, BilevelJuMP, MibS\_jll model = BilevelModel() … Rest of the Model… solution = BilevelJuMP.solve\_with\_MibS(model, MibS\_jll.mibs; verbo…

---

## [How to get rid of the error: "MethodError: no method matching optimize!(::AffExpr)"](https://discourse.julialang.org/t/how-to-get-rid-of-the-error-methoderror-no-method-matching-optimize-affexpr/109218)

<div class="topic-metadata">

**Author:** [@Aliaksandra\_Kizhyk](https://discourse.julialang.org/u/Aliaksandra_Kizhyk)\
**Replies:** 2\
**Last updated:** [January 24, 2024, 9:34pm UTC](https://discourse.julialang.org/t/how-to-get-rid-of-the-error-methoderror-no-method-matching-optimize-affexpr/109218 "2024-01-24T21:34:10Z")

</div>

Hello everyone! I urgently need some help with this code. I am getting the error “MethodError: no method matching optimize!(::AffExpr)”, and I can’t understand why it appears. I am not proficient with programming and ne…

---

## [Determine the delay between two signals](https://discourse.julialang.org/t/determine-the-delay-between-two-signals/109140)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 12\
**Last updated:** [January 24, 2024, 7:39pm UTC](https://discourse.julialang.org/t/determine-the-delay-between-two-signals/109140 "2024-01-24T19:39:51Z")

</div>

Hello, I am trying to find out the delay between two signals. I have the following Python example: # Cross-correlate correlation = correlate(x, y, 'full') # Get the lag vector that corresponds to the correlation vect…

---

## [Computable General Equilibrium](https://discourse.julialang.org/t/computable-general-equilibrium/106625)

<div class="topic-metadata">

**Author:** [@enzo.salvatore](https://discourse.julialang.org/u/enzo.salvatore)\
**Replies:** 8\
**Last updated:** [January 24, 2024, 4:48pm UTC](https://discourse.julialang.org/t/computable-general-equilibrium/106625 "2024-01-24T16:48:26Z")

</div>

We want to discuss the modeling of computable general equilibrium in julia.

---

## [Make model matrix with raw data (Non-Real, Complex numbers and other structures) in StatsModels and possible application with Metida (spatial covariance with shortest path)](https://discourse.julialang.org/t/make-model-matrix-with-raw-data-non-real-complex-numbers-and-other-structures-in-statsmodels-and-possible-application-with-metida-spatial-covariance-with-shortest-path/109123)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 1\
**Last updated:** [January 23, 2024, 6:43pm UTC](https://discourse.julialang.org/t/make-model-matrix-with-raw-data-non-real-complex-numbers-and-other-structures-in-statsmodels-and-possible-application-with-metida-spatial-covariance-with-shortest-path/109123 "2024-01-23T18:43:44Z")

</div>

Is it possible to use Complex numbers and custom types in StatsModels as continuous variables?

---

## [Why does my cubature of ODESolution break down with finite limits?](https://discourse.julialang.org/t/why-does-my-cubature-of-odesolution-break-down-with-finite-limits/108736)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 18\
**Last updated:** [January 24, 2024, 11:04am UTC](https://discourse.julialang.org/t/why-does-my-cubature-of-odesolution-break-down-with-finite-limits/108736 "2024-01-24T11:04:34Z")

</div>

I want to find the multi-dimensional integral of a scalar-valued function with vector argument defined on a rectangle (basically, product of truncated PDFs). The argument of the function comes from solving a system of OD…

---

## [Multiple choice option in GLMakie Menu](https://discourse.julialang.org/t/multiple-choice-option-in-glmakie-menu/109190)

<div class="topic-metadata">

**Author:** [@ilkerarslan](https://discourse.julialang.org/u/ilkerarslan)\
**Replies:** 0\
**Last updated:** [January 24, 2024, 10:36am UTC](https://discourse.julialang.org/t/multiple-choice-option-in-glmakie-menu/109190 "2024-01-24T10:36:26Z")

</div>

Hi, Is there a way of selecting multiple elements in a GLMakie Menu? Or is there another control function to do this?

---

## [\[English help\] An imputer that works with any supervised model, a "GeneralImputer" or a "UniversalImputer" (or other?)](https://discourse.julialang.org/t/english-help-an-imputer-that-works-with-any-supervised-model-a-generalimputer-or-a-universalimputer-or-other/109187)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 0\
**Last updated:** [January 24, 2024, 9:09am UTC](https://discourse.julialang.org/t/english-help-an-imputer-that-works-with-any-supervised-model-a-generalimputer-or-a-universalimputer-or-other/109187 "2024-01-24T09:09:48Z")

</div>

I am standardizing the names of the models on my Beta Machine Learning Toolkits (BetaML)… concerning the Imputers (of missing values), I have some that use a specific algorithm, e.g. Random Forest, or Gaussian Mixture mo…

---

## [WebSockets vs Oxygen.jl](https://discourse.julialang.org/t/websockets-vs-oxygen-jl/109146)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 4\
**Last updated:** [January 24, 2024, 8:53am UTC](https://discourse.julialang.org/t/websockets-vs-oxygen-jl/109146 "2024-01-24T08:53:13Z")

</div>

I’m sure I’m doing something silly and wrong, I’m just not sure what. In the following two MWE, a server is sending a 1 MB payload a hundrad times to one client, all within the same Julia session (v1.10.0 single thread)…

---

## [How to properly specify maximum interations in Optimization?](https://discourse.julialang.org/t/how-to-properly-specify-maximum-interations-in-optimization/109144)

<div class="topic-metadata">

**Author:** [@foolcat](https://discourse.julialang.org/u/foolcat)\
**Replies:** 4\
**Last updated:** [January 23, 2024, 10:58pm UTC](https://discourse.julialang.org/t/how-to-properly-specify-maximum-interations-in-optimization/109144 "2024-01-23T22:58:59Z")

</div>

Hello, I am pretty new to Julia and SciML. I have a question about how to specify the maximum iterations in Optimzation.jl. I read the documentation and tried different combinations of maxiters, iterations, etc. So far …

---

## [Bioinference conference 2024: Call for Abstract & Registration](https://discourse.julialang.org/t/bioinference-conference-2024-call-for-abstract-registration/108614)

<div class="topic-metadata">

**Author:** [@Yongchao](https://discourse.julialang.org/u/Yongchao)\
**Replies:** 0\
**Last updated:** [January 10, 2024, 10:49am UTC](https://discourse.julialang.org/t/bioinference-conference-2024-call-for-abstract-registration/108614 "2024-01-10T10:49:10Z")

</div>

BioInference 2024: save the date and call for abstract The BioInference 2024 conference (2024 Conference - BioInference) is taking place at the University of Warwick on the 5th-7th June 2024, and it will combine a data-…

---

## [MATLAB -\> Julia, Diffeq cannot solve large system over long time-span](https://discourse.julialang.org/t/matlab-julia-diffeq-cannot-solve-large-system-over-long-time-span/109103)

<div class="topic-metadata">

**Author:** [@atarias1](https://discourse.julialang.org/u/atarias1)\
**Replies:** 20\
**Last updated:** [January 23, 2024, 5:28pm UTC](https://discourse.julialang.org/t/matlab-julia-diffeq-cannot-solve-large-system-over-long-time-span/109103 "2024-01-23T17:28:19Z")

</div>

Hello, I am working on a project to model dehydration of some rocks. I am planning on adapting this model https://github.com/rmskarbek/PorosityWaves to different conditions. However, before moving on to that I wanted to…

---

## [Discrete Kalman filter](https://discourse.julialang.org/t/discrete-kalman-filter/109014)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 19\
**Last updated:** [January 23, 2024, 4:32pm UTC](https://discourse.julialang.org/t/discrete-kalman-filter/109014 "2024-01-23T16:32:02Z")

</div>

Kalman filter A wind turbine is modeled under the assumption that the rotor is directly attached to the generator and that the generator torque can be controlled directly. Then we can write (without noise): \\dot\\omega\_…

---

## [Confusing performance of LinearAlgebra.mul! for Float64](https://discourse.julialang.org/t/confusing-performance-of-linearalgebra-mul-for-float64/109064)

<div class="topic-metadata">

**Author:** [@ArrogantGao](https://discourse.julialang.org/u/ArrogantGao)\
**Replies:** 4\
**Last updated:** [January 23, 2024, 12:17pm UTC](https://discourse.julialang.org/t/confusing-performance-of-linearalgebra-mul-for-float64/109064 "2024-01-23T12:17:46Z")

</div>

Hi, I was benchmarking the performance of LinearAlgebra.mul! and got something quite confusing. julia\> using CUDA, LinearAlgebra, BenchmarkTools julia\> versioninfo() Julia Version 1.10.0 Commit 3120989f39b (2023-12-25 …

---

## [Inverse problem with NeuralPDE and GPU support](https://discourse.julialang.org/t/inverse-problem-with-neuralpde-and-gpu-support/109051)

<div class="topic-metadata">

**Author:** [@Rene\_Schenkendorf](https://discourse.julialang.org/u/Rene_Schenkendorf)\
**Replies:** 5\
**Last updated:** [January 23, 2024, 8:29am UTC](https://discourse.julialang.org/t/inverse-problem-with-neuralpde-and-gpu-support/109051 "2024-01-23T08:29:00Z")

</div>

Hello everyone. I am new to Julia (at least that’s how it feels from time to time). Using the GPU according to tutorial https://docs.sciml.ai/NeuralPDE/stable/tutorials/gpu/ works; the inverse problem (first-principles m…

---

## [Basic solve with Optim/ NLsolve](https://discourse.julialang.org/t/basic-solve-with-optim-nlsolve/109125)

<div class="topic-metadata">

**Author:** [@jovansam](https://discourse.julialang.org/u/jovansam)\
**Replies:** 1\
**Last updated:** [January 23, 2024, 3:00am UTC](https://discourse.julialang.org/t/basic-solve-with-optim-nlsolve/109125 "2024-01-23T03:00:05Z")

</div>

I have a very simple problem, but a little stomped. Below is a MWE using NLsolve f! = function (dx, x, a, b) # we want to find roots for f dx\[1\] = x\[1\] - a\[1\] dx\[2\] = x\[2\] = a\[2\] b = 5 end a = \[1; 5\] b = 0 g…

---

## [Issues with secondary y-axis in Plots.jl](https://discourse.julialang.org/t/issues-with-secondary-y-axis-in-plots-jl/109107)

<div class="topic-metadata">

**Author:** [@aleppersico](https://discourse.julialang.org/u/aleppersico)\
**Replies:** 1\
**Last updated:** [January 22, 2024, 6:40pm UTC](https://discourse.julialang.org/t/issues-with-secondary-y-axis-in-plots-jl/109107 "2024-01-22T18:40:27Z")

</div>

Hello all, :slight\_smile: I am working on a plot with two y-axis. The plot is showing how a quantity is changing over time and I would like to have on the left axis its nominal value and on the right axis the percentage…

---

## [Automatic Differentiation: Second-order partial derivatives w.r.t. different arguments](https://discourse.julialang.org/t/automatic-differentiation-second-order-partial-derivatives-w-r-t-different-arguments/109108)

<div class="topic-metadata">

**Author:** [@Tengrath](https://discourse.julialang.org/u/Tengrath)\
**Replies:** 0\
**Last updated:** [January 22, 2024, 4:13pm UTC](https://discourse.julialang.org/t/automatic-differentiation-second-order-partial-derivatives-w-r-t-different-arguments/109108 "2024-01-22T16:13:27Z")

</div>

I’m interested in calculating second order partial derivatives w.r.t. to different arguments \\partial k\_j \\partial x\_i f. Consider function f(x,k) return @. k \* x^2 end Calculation of second-order derivatives w.r.…

---

## [Call for submissions: Advances in Geostatistical Learning](https://discourse.julialang.org/t/call-for-submissions-advances-in-geostatistical-learning/105947)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 2\
**Last updated:** [January 22, 2024, 2:55pm UTC](https://discourse.julialang.org/t/call-for-submissions-advances-in-geostatistical-learning/105947 "2024-01-22T14:55:39Z")

</div>

Me, @ErickChacon and other colleagues outside the Julia community are co-editing a special issue in the journal Frontiers in Applied Mathematics and Statistics. If you are doing research in geospatial machine learning, c…

---

## [Julia code becomes slower on running on supercomputers and does not scale well when parallelizing with Base.Threads](https://discourse.julialang.org/t/julia-code-becomes-slower-on-running-on-supercomputers-and-does-not-scale-well-when-parallelizing-with-base-threads/108439)

<div class="topic-metadata">

**Author:** [@Uranium238](https://discourse.julialang.org/u/Uranium238)\
**Replies:** 73\
**Last updated:** [January 22, 2024, 1:21pm UTC](https://discourse.julialang.org/t/julia-code-becomes-slower-on-running-on-supercomputers-and-does-not-scale-well-when-parallelizing-with-base-threads/108439 "2024-01-22T13:21:22Z")

</div>

This question is a continuation / generalization of my previous question. My end goal is to write a parallelized code where the main time taking part is Matrix multiplication and inversion. As per the advice of @ufechner…

---

## [Having issues with running NeuralPDE on GPU](https://discourse.julialang.org/t/having-issues-with-running-neuralpde-on-gpu/108581)

<div class="topic-metadata">

**Author:** [@tajimura](https://discourse.julialang.org/u/tajimura)\
**Replies:** 5\
**Last updated:** [January 22, 2024, 9:49am UTC](https://discourse.julialang.org/t/having-issues-with-running-neuralpde-on-gpu/108581 "2024-01-22T09:49:58Z")

</div>

Was trying to train a PINN for NLSE using NeuralPDE. Everything runs fine on CPU, but when I try to move calculations to GPU, I get the following error: ERROR: CuArray only supports element types that are allocated inli…

---

## [Makie axis tick relabelling, marching cubes algorithm output](https://discourse.julialang.org/t/makie-axis-tick-relabelling-marching-cubes-algorithm-output/109077)

<div class="topic-metadata">

**Author:** [@Mahnoor\_Pop](https://discourse.julialang.org/u/Mahnoor_Pop)\
**Replies:** 2\
**Last updated:** [January 22, 2024, 12:08am UTC](https://discourse.julialang.org/t/makie-axis-tick-relabelling-marching-cubes-algorithm-output/109077 "2024-01-22T00:08:33Z")

</div>

Hi all! I’m plotting a mesh made using MarchingCubes.jl and want to readjust the axis tick labels. Currently, the values just represent how many cubes there are along each dimension (e.g. 0:11 x 0:11 x 0:11), but I want …

---

## [Bayesian Data Analysis Meetup on January 26, 2024 @ 6:30pm](https://discourse.julialang.org/t/bayesian-data-analysis-meetup-on-january-26-2024-6-30pm/108753)

<div class="topic-metadata">

**Author:** [@bparbhu](https://discourse.julialang.org/u/bparbhu)\
**Replies:** 2\
**Last updated:** [January 21, 2024, 11:11pm UTC](https://discourse.julialang.org/t/bayesian-data-analysis-meetup-on-january-26-2024-6-30pm/108753 "2024-01-21T23:11:09Z")

</div>

Hi All, So on Friday January 26th, I’ll be hosting the first Bayesian Data Analysis Meetup for 2024. Our speaker will be Brian Ward from the Flatiron Institute, who will be giving a talk on BridgeStan, the newest in-mem…

---

## [Contourf vs contour plotting time in CairoMakie](https://discourse.julialang.org/t/contourf-vs-contour-plotting-time-in-cairomakie/109074)

<div class="topic-metadata">

**Author:** [@andrew\_burger4](https://discourse.julialang.org/u/andrew_burger4)\
**Replies:** 3\
**Last updated:** [January 21, 2024, 9:53pm UTC](https://discourse.julialang.org/t/contourf-vs-contour-plotting-time-in-cairomakie/109074 "2024-01-21T21:53:26Z")

</div>

Hello, if I run the code below with contourf and contour, I see two different times: 4.5 seconds and 1.5 seconds, respectively. Is this performance hit expected just filling in the contours? plotting() begin using …

---

## [Issue with Zygote over ForwardDiff.derivative](https://discourse.julialang.org/t/issue-with-zygote-over-forwarddiff-derivative/70824)

<div class="topic-metadata">

**Author:** [@jlmaccal](https://discourse.julialang.org/u/jlmaccal)\
**Replies:** 10\
**Last updated:** [January 21, 2024, 4:18pm UTC](https://discourse.julialang.org/t/issue-with-zygote-over-forwarddiff-derivative/70824 "2024-01-21T16:18:25Z")

</div>

I’m having some trouble getting Zygote over ForwardDiff.derivative to work. I’m going to refer to this prior post. The following code used to fail with ERROR: setindex! not defined for ForwardDiff.Partials{1,Float64}. T…

---

## [Looking for a "trick" to express a constraint on binary variables](https://discourse.julialang.org/t/looking-for-a-trick-to-express-a-constraint-on-binary-variables/109049)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 9\
**Last updated:** [January 21, 2024, 11:10am UTC](https://discourse.julialang.org/t/looking-for-a-trick-to-express-a-constraint-on-binary-variables/109049 "2024-01-21T11:10:54Z")

</div>

I would like to know if there is a synthetic form to express the constraint Max(Si)-Min(Si) \<=s, without having to explicitly write all the possible differences (Si-Sj) and impose the constraint on these S1:: x\[1,1,N\]+x…

---

## [Change the focus of Gtk windows](https://discourse.julialang.org/t/change-the-focus-of-gtk-windows/19560)

<div class="topic-metadata">

**Author:** [@Carsten](https://discourse.julialang.org/u/Carsten)\
**Replies:** 9\
**Last updated:** [January 19, 2024, 2:51pm UTC](https://discourse.julialang.org/t/change-the-focus-of-gtk-windows/19560 "2024-01-19T14:51:03Z")

</div>

I have two overlapping Gtk-windows open. How can I change the focus via button clicking to get the hidden Gtk-window on top? Any advice would be very welcome. Carsten

---

## [Round variables in JuMP](https://discourse.julialang.org/t/round-variables-in-jump/109045)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 3\
**Last updated:** [January 20, 2024, 9:12pm UTC](https://discourse.julialang.org/t/round-variables-in-jump/109045 "2024-01-20T21:12:50Z")

</div>

Dear all, I have a model in JuMP with the following range index: variable(model, x\[i in 1:10, t in 1:10, h in H\[i\], bin) where H=\[ \[1,2\]; \[3,4,5\]; \[5\]; \[6,7\]; \[1,2,3\]; \[1,2,4\]; \[1,2,3\]; \[1,2,6,7\]; \[1,2,4\]; \[1,2\]; \] i…

---

## [Correct usage of shared memory？](https://discourse.julialang.org/t/correct-usage-of-shared-memory/107997)

<div class="topic-metadata">

**Author:** [@FR13ndSDP](https://discourse.julialang.org/u/FR13ndSDP)\
**Replies:** 5\
**Last updated:** [January 20, 2024, 6:28pm UTC](https://discourse.julialang.org/t/correct-usage-of-shared-memory/107997 "2024-01-20T18:28:23Z")

</div>

Hello everyone, I tried to test the performance of shared memory of CUDA.jl with this code: using CUDA, BenchmarkTools, Plots # initialize const N::Int64 = 1024 ϕ = ones(Float64, N, N) ϕ\[1, :\] .= 10.0 function evolve…

---

## [Changing metric for complex sphere in Manopt.jl](https://discourse.julialang.org/t/changing-metric-for-complex-sphere-in-manopt-jl/109020)

<div class="topic-metadata">

**Author:** [@fph](https://discourse.julialang.org/u/fph)\
**Replies:** 3\
**Last updated:** [January 20, 2024, 11:48am UTC](https://discourse.julialang.org/t/changing-metric-for-complex-sphere-in-manopt-jl/109020 "2024-01-20T11:48:01Z")

</div>

A technical question on Manopt.jl. I have seen that Sphere(n-1, ℂ) gets its Hermitian metric \\langle v, w\\rangle\_p = v^\*w from its canonical embedding in \\mathbb{C}^n. Instead, I would like to use that manifold with the…

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

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