# Specific Domains

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

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

**Page:** 111

---

## [SumOfSquares Code only works for single constraint](https://discourse.julialang.org/t/sumofsquares-code-only-works-for-single-constraint/114001)

<div class="topic-metadata">

**Author:** [@geo](https://discourse.julialang.org/u/geo)\
**Replies:** 7\
**Last updated:** [May 22, 2024, 7:26am UTC](https://discourse.julialang.org/t/sumofsquares-code-only-works-for-single-constraint/114001 "2024-05-22T07:26:39Z")

</div>

Dear All, I am trying out SOS decomposition of a polynomial matrix on a bounded (rectangular) domain. I generate an SOS matrix as the product P’\*P and then multiply that by (1 - x\[i\]^2) for each of the variables that I …

---

## [NLopt for ODE parameter estimation: how to get verbose printed while using build\_loss\_objective](https://discourse.julialang.org/t/nlopt-for-ode-parameter-estimation-how-to-get-verbose-printed-while-using-build-loss-objective/114491)

<div class="topic-metadata">

**Author:** [@Piyush](https://discourse.julialang.org/u/Piyush)\
**Replies:** 4\
**Last updated:** [May 22, 2024, 5:16am UTC](https://discourse.julialang.org/t/nlopt-for-ode-parameter-estimation-how-to-get-verbose-printed-while-using-build-loss-objective/114491 "2024-05-22T05:16:15Z")

</div>

Hi, Is there a way to print the function value while using any NLopt algorithm for parameter estimation while using build\_loss\_objective function to build the cost function?

---

## [ANN: Convex.jl v0.16 is released](https://discourse.julialang.org/t/ann-convex-jl-v0-16-is-released/114536)

<div class="topic-metadata">

**Author:** [@odow](https://discourse.julialang.org/u/odow)\
**Replies:** 1\
**Last updated:** [May 21, 2024, 11:56pm UTC](https://discourse.julialang.org/t/ann-convex-jl-v0-16-is-released/114536 "2024-05-21T23:56:32Z")

</div>

Dear all, We are pleased to announce the release of Convex.jl v0.16.0. This release of Convex involved a substantial internal rewrite of Convex.jl to integrate better with MathOptInterface. The result is a faster, simp…

---

## [JuMP+MAiNGO, no method matching +()](https://discourse.julialang.org/t/jump-maingo-no-method-matching/114514)

<div class="topic-metadata">

**Author:** [@blob](https://discourse.julialang.org/u/blob)\
**Replies:** 1\
**Last updated:** [May 21, 2024, 8:19pm UTC](https://discourse.julialang.org/t/jump-maingo-no-method-matching/114514 "2024-05-21T20:19:37Z")

</div>

I am using JuMP to solve a nonlinear optimization problem. If I use ipopt, the solver runs. If I use MAiNGO (GitHub - MAiNGO-github/MAiNGO.jl: A Julia Wrapper to use MAiNGO with JuMP) I get an error: Minimal (not)work…

---

## [Should @objective be replaced by @NLobjective in JuMP documentation?](https://discourse.julialang.org/t/should-objective-be-replaced-by-nlobjective-in-jump-documentation/113500)

<div class="topic-metadata">

**Author:** [@dnldlg](https://discourse.julialang.org/u/dnldlg)\
**Replies:** 2\
**Last updated:** [May 21, 2024, 3:45pm UTC](https://discourse.julialang.org/t/should-objective-be-replaced-by-nlobjective-in-jump-documentation/113500 "2024-05-21T15:45:49Z")

</div>

Hello, I’m currently reading the introductory section of the JuMP documentation and observed in the examples for the non-linear problems, that the macros @objective and @constraints are used. If I run these examples I g…

---

## [Problem in integrating Agents.jl and DifferentialEquations.jl](https://discourse.julialang.org/t/problem-in-integrating-agents-jl-and-differentialequations-jl/114510)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 3\
**Last updated:** [May 21, 2024, 1:59pm UTC](https://discourse.julialang.org/t/problem-in-integrating-agents-jl-and-differentialequations-jl/114510 "2024-05-21T13:59:55Z")

</div>

Hello, Everyone Im running this example from Agents.jl page – example. I’m getting Error as shown below. It will be really helpful if someone can help me out here as its extracted directly from website. I will expect it …

---

## [Support of Rockchip RK3588S NPU](https://discourse.julialang.org/t/support-of-rockchip-rk3588s-npu/89868)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 11\
**Last updated:** [May 21, 2024, 10:32am UTC](https://discourse.julialang.org/t/support-of-rockchip-rk3588s-npu/89868 "2024-05-21T10:32:20Z")

</div>

A new ARM CPU is available, that is at least three times a powerful as a Raspberry Pi 4. It also has a neural network processing unit, which is supported by Python. Will it also be supported by Julia? What would be neede…

---

## [Vector Database in Julia: bad idea?](https://discourse.julialang.org/t/vector-database-in-julia-bad-idea/97371)

<div class="topic-metadata">

**Author:** [@gvdr](https://discourse.julialang.org/u/gvdr)\
**Replies:** 19\
**Last updated:** [May 21, 2024, 5:00am UTC](https://discourse.julialang.org/t/vector-database-in-julia-bad-idea/97371 "2024-05-21T05:00:40Z")

</div>

Floating an idea: has anybody tried to build a vector database (think Pinecone or Weaviate) in pure Julia? If not, is there a specific reason why it’s a bad idea?

---

## [Normalization before sensitivity analysis](https://discourse.julialang.org/t/normalization-before-sensitivity-analysis/114484)

<div class="topic-metadata">

**Author:** [@duodenum](https://discourse.julialang.org/u/duodenum)\
**Replies:** 2\
**Last updated:** [May 20, 2024, 9:57pm UTC](https://discourse.julialang.org/t/normalization-before-sensitivity-analysis/114484 "2024-05-20T21:57:09Z")

</div>

Hello, I have a very general question: Is normalization necessary before global sensitivity analysis? Let’s say I have a differential equation that takes parameters x\_n. But parameters have widely different range of val…

---

## [Gurobi does not display log](https://discourse.julialang.org/t/gurobi-does-not-display-log/114442)

<div class="topic-metadata">

**Author:** [@CaG21](https://discourse.julialang.org/u/CaG21)\
**Replies:** 7\
**Last updated:** [May 20, 2024, 5:20pm UTC](https://discourse.julialang.org/t/gurobi-does-not-display-log/114442 "2024-05-20T17:20:47Z")

</div>

I am using Convex.jl in conjuction with Gurobi in a Jupyter notebook to solve a convex programming problem. Everything works but Gurobi is not displaying its log to the console in “realtime”, but it displays everything a…

---

## [JuMP: Squared Frobenius norm objective](https://discourse.julialang.org/t/jump-squared-frobenius-norm-objective/114400)

<div class="topic-metadata">

**Author:** [@smallpondtom](https://discourse.julialang.org/u/smallpondtom)\
**Replies:** 5\
**Last updated:** [May 20, 2024, 1:32pm UTC](https://discourse.julialang.org/t/jump-squared-frobenius-norm-objective/114400 "2024-05-20T13:32:32Z")

</div>

Hi. I can’t seem to find a definitive answer so I’m posting here for help. What is the standard and latest way in JuMP to construct an objective function for a Frobenius norm? Say I have a (fictional) minimization of …

---

## [Homotopy Continuation fails to find all solutions](https://discourse.julialang.org/t/homotopy-continuation-fails-to-find-all-solutions/114451)

<div class="topic-metadata">

**Author:** [@jrawson](https://discourse.julialang.org/u/jrawson)\
**Replies:** 2\
**Last updated:** [May 20, 2024, 1:12pm UTC](https://discourse.julialang.org/t/homotopy-continuation-fails-to-find-all-solutions/114451 "2024-05-20T13:12:10Z")

</div>

Hello, Apologies if this is in the wrong place. I am attempting to solve certain polynomial systems in Julia, using Homotopy Continuation. I know these have a certain number of solutions (364), however Homotopy Continua…

---

## [Agents.jl - @multiagent : MethodError: Cannot \`convert\` an object of type People to an object of type Family](https://discourse.julialang.org/t/agents-jl-multiagent-methoderror-cannot-convert-an-object-of-type-people-to-an-object-of-type-family/114466)

<div class="topic-metadata">

**Author:** [@imantha](https://discourse.julialang.org/u/imantha)\
**Replies:** 5\
**Last updated:** [May 20, 2024, 12:51pm UTC](https://discourse.julialang.org/t/agents-jl-multiagent-methoderror-cannot-convert-an-object-of-type-people-to-an-object-of-type-family/114466 "2024-05-20T12:51:05Z")

</div>

I am a little clueless on how to use @multiagent macro in Agents.jl. For the problem I am trying to solve there are multiple agents and I am trying to add each as subagent but I get the error : MethodError: Cannot conver…

---

## [How to let the user specify the variable name?](https://discourse.julialang.org/t/how-to-let-the-user-specify-the-variable-name/114467)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 7\
**Last updated:** [May 20, 2024, 7:19am UTC](https://discourse.julialang.org/t/how-to-let-the-user-specify-the-variable-name/114467 "2024-05-20T07:19:18Z")

</div>

For example, I want the user to specify the variable name of the JuMP mode. How to do? using JuMP function fun(var::Symbol) model = Model() @variable(model, var\[1:3\]) end Thanks.

---

## [How to convert a thread-parallelized code into a core-parallelized code?](https://discourse.julialang.org/t/how-to-convert-a-thread-parallelized-code-into-a-core-parallelized-code/114406)

<div class="topic-metadata">

**Author:** [@Uranium238](https://discourse.julialang.org/u/Uranium238)\
**Replies:** 3\
**Last updated:** [May 19, 2024, 7:06am UTC](https://discourse.julialang.org/t/how-to-convert-a-thread-parallelized-code-into-a-core-parallelized-code/114406 "2024-05-19T07:06:44Z")

</div>

This post can be thought as a successor to an old series of posts that I had made where the motive was to improve the performance and eventually parallelize a code that consisted primarily of matrix operations, the end g…

---

## [Structural\_simplify not working on tiered model](https://discourse.julialang.org/t/structural-simplify-not-working-on-tiered-model/114428)

<div class="topic-metadata">

**Author:** [@HSnowden](https://discourse.julialang.org/u/HSnowden)\
**Replies:** 1\
**Last updated:** [May 18, 2024, 1:40pm UTC](https://discourse.julialang.org/t/structural-simplify-not-working-on-tiered-model/114428 "2024-05-18T13:40:31Z")

</div>

Hello, For contect: I am building a model using ModellingToolkit that has layers of connections as each component within the overall ODE will be built at runtime from symbolics equations etc. I have built this model wi…

---

## [Autodiff for max-flow](https://discourse.julialang.org/t/autodiff-for-max-flow/114300)

<div class="topic-metadata">

**Author:** [@PaterPen](https://discourse.julialang.org/u/PaterPen)\
**Replies:** 14\
**Last updated:** [May 18, 2024, 10:56am UTC](https://discourse.julialang.org/t/autodiff-for-max-flow/114300 "2024-05-18T10:56:43Z")

</div>

Hi, I would like to use Enzyme.jl to get gradients for a max-flow result. Enzyme gives me an illegal type analysis error in this MWE: using Enzyme using Graphs, GraphsFlows # Graph from GraphsFlows.jl demo flow\_graph =…

---

## [JuMP: Solver independent callback doesnt work for SCIP](https://discourse.julialang.org/t/jump-solver-independent-callback-doesnt-work-for-scip/108490)

<div class="topic-metadata">

**Author:** [@sandyspiers](https://discourse.julialang.org/u/sandyspiers)\
**Replies:** 4\
**Last updated:** [May 18, 2024, 10:36am UTC](https://discourse.julialang.org/t/jump-solver-independent-callback-doesnt-work-for-scip/108490 "2024-05-18T10:36:32Z")

</div>

The docs state that JuMP’s solver-independent callback feature supports SCIP. However, if I replace the lazy constraint example (which uses GLPK) with SCIP, I get the following error julia\> using JuMP julia\> import SC…

---

## [Why does rand(Complex{Float64},N,N) always host a large eigenvalue?](https://discourse.julialang.org/t/why-does-rand-complex-float64-n-n-always-host-a-large-eigenvalue/114402)

<div class="topic-metadata">

**Author:** [@yosuga](https://discourse.julialang.org/u/yosuga)\
**Replies:** 5\
**Last updated:** [May 17, 2024, 5:17pm UTC](https://discourse.julialang.org/t/why-does-rand-complex-float64-n-n-always-host-a-large-eigenvalue/114402 "2024-05-17T17:17:36Z")

</div>

rand(Complex{Float64},N,N) has a single huge eigenvalue: 1000-element Vector{ComplexF64}: -12.783541578066096 + 0.3846555290226826im -12.640629292870221 + 0.3298358788214941im -12.532390460903775 - 0.46833512398154803im…

---

## [Idea of time in Agents.jl modelling](https://discourse.julialang.org/t/idea-of-time-in-agents-jl-modelling/114240)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 12\
**Last updated:** [May 17, 2024, 7:38pm UTC](https://discourse.julialang.org/t/idea-of-time-in-agents-jl-modelling/114240 "2024-05-17T19:38:55Z")

</div>

Hello everyone, It may be very naive to ask but Im not sure I understand idea of time in Agents.jl modelling. In Agents modelling we usually use steps right? like for how many steps it should run. But lets say I want to…

---

## [Animation from grid data/files:](https://discourse.julialang.org/t/animation-from-grid-data-files/114277)

<div class="topic-metadata">

**Author:** [@GeodeticR](https://discourse.julialang.org/u/GeodeticR)\
**Replies:** 12\
**Last updated:** [May 17, 2024, 3:53pm UTC](https://discourse.julialang.org/t/animation-from-grid-data-files/114277 "2024-05-17T15:53:52Z")

</div>

Making an animation with the GMT.jl package is not intuitive to me and I would love some guidance/direction on how to achieve my end goal. Luckily, though, using the GMT.jl package to plot a static grid is relatively st…

---

## [Renderloop updates in GLMakie.jl?](https://discourse.julialang.org/t/renderloop-updates-in-glmakie-jl/114397)

<div class="topic-metadata">

**Author:** [@dgleich](https://discourse.julialang.org/u/dgleich)\
**Replies:** 0\
**Last updated:** [May 17, 2024, 1:48pm UTC](https://discourse.julialang.org/t/renderloop-updates-in-glmakie-jl/114397 "2024-05-17T13:48:56Z")

</div>

Context: I’m trying to recreate this demo Collide force | D3 by Observable in Makie.jl with GraphPlayground.jl (and do other demos from there too…) Issue: What’s are different ways of driving the update loop in GLMaki…

---

## [Threads stop working when scaling computation](https://discourse.julialang.org/t/threads-stop-working-when-scaling-computation/114392)

<div class="topic-metadata">

**Author:** [@SpuriousEigenstate](https://discourse.julialang.org/u/SpuriousEigenstate)\
**Replies:** 0\
**Last updated:** [May 17, 2024, 12:06pm UTC](https://discourse.julialang.org/t/threads-stop-working-when-scaling-computation/114392 "2024-05-17T12:06:39Z")

</div>

I have been stumped by this for a while now, so I thought I’d put it up here. I developed a script that calculates some properties of a simulation “self-consistently”. I.e. the system is set up as a matrix, diagonalized…

---

## [LWPR in Julia](https://discourse.julialang.org/t/lwpr-in-julia/7578)

<div class="topic-metadata">

**Author:** [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Replies:** 2\
**Last updated:** [May 16, 2024, 7:24pm UTC](https://discourse.julialang.org/t/lwpr-in-julia/7578 "2024-05-16T19:24:36Z")

</div>

I’m considering playing around with Locally Weighted Projection Regression (LWPR), and I was curious if anyone was aware of any Julia implementations of the algorithm (Google, alas, is not). I’m aware of SLMC | InfWeb (…

---

## [Marking user points / events along a cxdimension-one curve of fold bifurcation](https://discourse.julialang.org/t/marking-user-points-events-along-a-cxdimension-one-curve-of-fold-bifurcation/114325)

<div class="topic-metadata">

**Author:** [@BigEpsilon.jl](https://discourse.julialang.org/u/BigEpsilon.jl)\
**Replies:** 3\
**Last updated:** [May 16, 2024, 2:48pm UTC](https://discourse.julialang.org/t/marking-user-points-events-along-a-cxdimension-one-curve-of-fold-bifurcation/114325 "2024-05-16T14:48:33Z")

</div>

This post is concerning BifurcationKit.jl I doing a bifurcation analysis in two parameters, and want to be able to mark a point along a fold-curve, similar to how it is on in AUTO-07p. I have gotten this working for a …

---

## [What can I do to calculate the L2 norm between the exact solution and my numerical solution?](https://discourse.julialang.org/t/what-can-i-do-to-calculate-the-l2-norm-between-the-exact-solution-and-my-numerical-solution/114359)

<div class="topic-metadata">

**Author:** [@mcr.92](https://discourse.julialang.org/u/mcr.92)\
**Replies:** 3\
**Last updated:** [May 16, 2024, 2:23pm UTC](https://discourse.julialang.org/t/what-can-i-do-to-calculate-the-l2-norm-between-the-exact-solution-and-my-numerical-solution/114359 "2024-05-16T14:23:52Z")

</div>

I am solving a differential equation by the MOL method, it has an exact solution so I want to calculate the error in the L2 norm. I made this code F1(x) = A\*(cosh(B\*x)) F2(y) = A\*(cosh(B\*y)) FC = -(2\*(B^2)\*K - W)/(ρ\*C\_s…

---

## [Training Flux LSTM on GPU is slower than on CPU](https://discourse.julialang.org/t/training-flux-lstm-on-gpu-is-slower-than-on-cpu/114250)

<div class="topic-metadata">

**Author:** [@dtramtn](https://discourse.julialang.org/u/dtramtn)\
**Replies:** 1\
**Last updated:** [May 16, 2024, 11:51am UTC](https://discourse.julialang.org/t/training-flux-lstm-on-gpu-is-slower-than-on-cpu/114250 "2024-05-16T11:51:26Z")

</div>

Hi, I’m trying to train an LSTM with timeseries data using Flux and attempting to speed it up by training on the GPU, but it takes longer than on the CPU. The data is an n\_features x n\_observation matrix as generated i…

---

## [Why use EnsembleProblems?](https://discourse.julialang.org/t/why-use-ensembleproblems/114315)

<div class="topic-metadata">

**Author:** [@jonathanfischer97](https://discourse.julialang.org/u/jonathanfischer97)\
**Replies:** 1\
**Last updated:** [May 16, 2024, 8:07am UTC](https://discourse.julialang.org/t/why-use-ensembleproblems/114315 "2024-05-16T08:07:05Z")

</div>

What’s the main intended use case for using an EnsembleProblem in DifferentialEquations.jl? Does it offer better performance through batching compared to just writing an equivalent parallelized loop with remake and sol…

---

## [Guidance on POS Tagging and lemmatization approach](https://discourse.julialang.org/t/guidance-on-pos-tagging-and-lemmatization-approach/114344)

<div class="topic-metadata">

**Author:** [@Amval](https://discourse.julialang.org/u/Amval)\
**Replies:** 0\
**Last updated:** [May 16, 2024, 7:33am UTC](https://discourse.julialang.org/t/guidance-on-pos-tagging-and-lemmatization-approach/114344 "2024-05-16T07:33:54Z")

</div>

Hello, I’d like to do some basic NLP tasks (POS Tagging, lemmatization) in languages other than English. . Or, more specifically, German. Currently, I am using SpaCy through PyCall with the german model. This is fine, h…

---

## [Colorbar for contour plot with uneven spacing of contour lines](https://discourse.julialang.org/t/colorbar-for-contour-plot-with-uneven-spacing-of-contour-lines/114329)

<div class="topic-metadata">

**Author:** [@rkube](https://discourse.julialang.org/u/rkube)\
**Replies:** 3\
**Last updated:** [May 16, 2024, 2:21am UTC](https://discourse.julialang.org/t/colorbar-for-contour-plot-with-uneven-spacing-of-contour-lines/114329 "2024-05-16T02:21:18Z")

</div>

Hi, I’m trying to add a colorbar for a contour plot with uneven spacing between the contour lines. The contour plot using CairoMakie fig = let fig = Figure() ax = Axis(fig\[1, 1\]) xrg = 0.0:0.01:1.0 y…

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

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