# Specific Domains

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

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

**Page:** 101

---

## [Kolmogorov-Arnold network](https://discourse.julialang.org/t/kolmogorov-arnold-network/113712)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 5\
**Last updated:** [July 2, 2024, 7:08am UTC](https://discourse.julialang.org/t/kolmogorov-arnold-network/113712 "2024-07-02T07:08:15Z")

</div>

A new architecture was dropped, vastly different from deep learning. In case you were interested in implementing something in Julia, maybe this?

---

## [Makie: multiple y-axes align yticks](https://discourse.julialang.org/t/makie-multiple-y-axes-align-yticks/116471)

<div class="topic-metadata">

**Author:** [@thomasj](https://discourse.julialang.org/u/thomasj)\
**Replies:** 5\
**Last updated:** [July 1, 2024, 4:27pm UTC](https://discourse.julialang.org/t/makie-multiple-y-axes-align-yticks/116471 "2024-07-01T16:27:51Z")

</div>

I’m trying to make plots with multiple y-axes in Makie. I would like that the ticks of all y-axes are aligned with respect to the others y-axis. using GLMakie using LaTeXStrings using Statistics t = \[0; 1; 2; 3; 4; 5\]…

---

## [How to make \`barplot\` in makie show different fill styles?](https://discourse.julialang.org/t/how-to-make-barplot-in-makie-show-different-fill-styles/116464)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 2\
**Last updated:** [July 1, 2024, 1:29pm UTC](https://discourse.julialang.org/t/how-to-make-barplot-in-makie-show-different-fill-styles/116464 "2024-07-01T13:29:00Z")

</div>

I want the bars in a barplot to have different fill styles instead of just being filled with a solid color. For example, I want to have grid-like stripes, zebra stripes with two alternating colors, and so on. How can I…

---

## [Proper order when cycling through colormap](https://discourse.julialang.org/t/proper-order-when-cycling-through-colormap/116209)

<div class="topic-metadata">

**Author:** [@erathorn](https://discourse.julialang.org/u/erathorn)\
**Replies:** 6\
**Last updated:** [July 1, 2024, 12:30pm UTC](https://discourse.julialang.org/t/proper-order-when-cycling-through-colormap/116209 "2024-07-01T12:30:46Z")

</div>

Using this (slightly adapted) code from the documentation, we can see, that the cycler, uses the two extreme colors from the colormap. using CairoMakie categories = rand(1:3, 1000) values = randn(1000) dodge = rand(1:2…

---

## [How to plot a rounded rectangle with \`Makie\`?](https://discourse.julialang.org/t/how-to-plot-a-rounded-rectangle-with-makie/116457)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 1\
**Last updated:** [July 1, 2024, 12:25pm UTC](https://discourse.julialang.org/t/how-to-plot-a-rounded-rectangle-with-makie/116457 "2024-07-01T12:25:46Z")

</div>

I can do this using rectangle('Position', \[-1, 1, 1, 1\], 'Curvature', 0.2) in MATLAB.

---

## [TypeError: Expected UnionAll, got Type{Machine{...}}](https://discourse.julialang.org/t/typeerror-expected-unionall-got-type-machine/116354)

<div class="topic-metadata">

**Author:** [@niltsz](https://discourse.julialang.org/u/niltsz)\
**Replies:** 6\
**Last updated:** [July 1, 2024, 11:31am UTC](https://discourse.julialang.org/t/typeerror-expected-unionall-got-type-machine/116354 "2024-07-01T11:31:28Z")

</div>

I want to save a trained MLJ machine (EvoTreeRegressor) on the cluster and then open it locally on my computer. On the cluster, I save the machine with MLJ.save("path/on/cluster/machine.jls", mach) and then try to load…

---

## [AD pipeline and Hessian–vector products](https://discourse.julialang.org/t/ad-pipeline-and-hessian-vector-products/116329)

<div class="topic-metadata">

**Author:** [@RS-Coop](https://discourse.julialang.org/u/RS-Coop)\
**Replies:** 12\
**Last updated:** [July 1, 2024, 7:24am UTC](https://discourse.julialang.org/t/ad-pipeline-and-hessian-vector-products/116329 "2024-07-01T07:24:36Z")

</div>

To be clear, this isn’t a question about the state of AD in Julia. That has been covered quite well in a variety of sources. Instead I have the following question: what is the state of the overall AD pipeline in Julia? A…

---

## [SCIP issue on Windows](https://discourse.julialang.org/t/scip-issue-on-windows/113976)

<div class="topic-metadata">

**Author:** [@asavasci](https://discourse.julialang.org/u/asavasci)\
**Replies:** 2\
**Last updated:** [July 1, 2024, 1:55am UTC](https://discourse.julialang.org/t/scip-issue-on-windows/113976 "2024-07-01T01:55:28Z")

</div>

Hi, I am trying to use SCIP solver with JuMP on Windows 11. Even if I followed the steps suggested, I could not solve problems with SCIP. Particularly, optimize!(model) shuts the REPL or kills the kernel in jupyter noteb…

---

## [How to obtain first 10 eigenvalues of a ITensorMPO.MPS Hamiltonian](https://discourse.julialang.org/t/how-to-obtain-first-10-eigenvalues-of-a-itensormpo-mps-hamiltonian/116430)

<div class="topic-metadata">

**Author:** [@Ayush](https://discourse.julialang.org/u/Ayush)\
**Replies:** 1\
**Last updated:** [July 1, 2024, 1:36am UTC](https://discourse.julialang.org/t/how-to-obtain-first-10-eigenvalues-of-a-itensormpo-mps-hamiltonian/116430 "2024-07-01T01:36:34Z")

</div>

I have a code for an Ising model defined by a Hamiltonian. I want to obtain the first 10 eigenvalues of that hamiltonian. I tried 2 different approaches: a) First convert it into a sparse matrix and then use arpack’s eig…

---

## [Symmetry reduction in Sumsofsquares](https://discourse.julialang.org/t/symmetry-reduction-in-sumsofsquares/115727)

<div class="topic-metadata">

**Author:** [@Khashayar-Neshat](https://discourse.julialang.org/u/Khashayar-Neshat)\
**Replies:** 18\
**Last updated:** [June 30, 2024, 11:42pm UTC](https://discourse.julialang.org/t/symmetry-reduction-in-sumsofsquares/115727 "2024-06-30T23:42:55Z")

</div>

I have a simple minimization with symmetry, but Julia gives an error while using symmetry reduction. I want to find the minimum of x\_1^4+x\_2^4+x\_3^4-4x\_1x\_2x\_3+x\_1+x\_2+x\_3. Here is my script: using SumOfSquares using …

---

## [Symmetry reduction documentation](https://discourse.julialang.org/t/symmetry-reduction-documentation/98354)

<div class="topic-metadata">

**Author:** [@Khashayar-Neshat](https://discourse.julialang.org/u/Khashayar-Neshat)\
**Replies:** 18\
**Last updated:** [June 30, 2024, 11:29pm UTC](https://discourse.julialang.org/t/symmetry-reduction-documentation/98354 "2024-06-30T23:29:55Z")

</div>

Hi, If our polynomial optimization problem has a particular group symmetry, we can do symmetry reduction to get block diagonal matrices. Doing this involves constructing a symmetry-adapted basis. Since symmetry-adapted …

---

## [Simple Reshaping in Zygote Throwing MethodError](https://discourse.julialang.org/t/simple-reshaping-in-zygote-throwing-methoderror/115825)

<div class="topic-metadata">

**Author:** [@vasudeva-ram](https://discourse.julialang.org/u/vasudeva-ram)\
**Replies:** 2\
**Last updated:** [June 30, 2024, 10:07pm UTC](https://discourse.julialang.org/t/simple-reshaping-in-zygote-throwing-methoderror/115825 "2024-06-30T22:07:17Z")

</div>

Hi, I’m using Zygote to find the Vector-Jacobian Product (VJP) of a function. The MWE version of the function is as follows: function ffunc(x::Vector{Float64}) # first reshape xMat = reshape(x, (:, 2)) # app…

---

## [OpenAPI.jl behind Oxygen.jl sometimes doesn't work](https://discourse.julialang.org/t/openapi-jl-behind-oxygen-jl-sometimes-doesnt-work/116409)

<div class="topic-metadata">

**Author:** [@qwjyh](https://discourse.julialang.org/u/qwjyh)\
**Replies:** 0\
**Last updated:** [June 30, 2024, 6:11am UTC](https://discourse.julialang.org/t/openapi-jl-behind-oxygen-jl-sometimes-doesnt-work/116409 "2024-06-30T06:11:31Z")

</div>

I’m new to web dev. I’m trying to make a relay server which receives requests from users as a server implemented with Oxygen.jl and sends requests to another server as a client which uses auto-generated client code from…

---

## [Real time plotting (with Makie)](https://discourse.julialang.org/t/real-time-plotting-with-makie/20432)

<div class="topic-metadata">

**Author:** [@cserteGT3](https://discourse.julialang.org/u/cserteGT3)\
**Replies:** 13\
**Last updated:** [June 30, 2024, 12:36am UTC](https://discourse.julialang.org/t/real-time-plotting-with-makie/20432 "2024-06-30T00:36:11Z")

</div>

Currently I’m trying to plot real-time measured values (force values from a robot controller). By real-time I mean, at a 125Hz frequency as the values arrive. I’m working with Makie and concluded to this code based on th…

---

## [Alpine Error](https://discourse.julialang.org/t/alpine-error/115987)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 12\
**Last updated:** [June 24, 2024, 7:04pm UTC](https://discourse.julialang.org/t/alpine-error/115987 "2024-06-24T19:04:06Z")

</div>

When I use Alpine to solve an optimization problem, I get the error below. Starting bound-tightening ERROR: LoadError: Constraints of type MathOptInterface.ScalarQuadraticFunction{Float64}-in-MathOptInterface.GreaterT…

---

## [How to create independent normal distribution variables in JuMP](https://discourse.julialang.org/t/how-to-create-independent-normal-distribution-variables-in-jump/116325)

<div class="topic-metadata">

**Author:** [@SSGD](https://discourse.julialang.org/u/SSGD)\
**Replies:** 4\
**Last updated:** [June 29, 2024, 5:01pm UTC](https://discourse.julialang.org/t/how-to-create-independent-normal-distribution-variables-in-jump/116325 "2024-06-29T17:01:57Z")

</div>

Hello :smiley: I followed the previous work to define variables (normal distribution) in JuMP v.1.22.2 and want to use like this: @indepnormal(m\_chance, ω\[i=1:numfarms\], mean=0, var=farms\[i\].σ^2) But I met issues, fol…

---

## [Struggle at using JuMP/MathOptInterface for calculating number of constraints](https://discourse.julialang.org/t/struggle-at-using-jump-mathoptinterface-for-calculating-number-of-constraints/116275)

<div class="topic-metadata">

**Author:** [@SSGD](https://discourse.julialang.org/u/SSGD)\
**Replies:** 6\
**Last updated:** [June 29, 2024, 4:59pm UTC](https://discourse.julialang.org/t/struggle-at-using-jump-mathoptinterface-for-calculating-number-of-constraints/116275 "2024-06-29T16:59:01Z")

</div>

Hello :smiley: I am using JuMP to solve a chance-constrained optimization, the original package is very old and I met issues of reproducing it. Following is one package I am trying to solve but stuck for more than a we…

---

## [Modifying OrnsteinUhlenbeckBridge in DifferentialEquations.jl](https://discourse.julialang.org/t/modifying-ornsteinuhlenbeckbridge-in-differentialequations-jl/116168)

<div class="topic-metadata">

**Author:** [@dleather](https://discourse.julialang.org/u/dleather)\
**Replies:** 5\
**Last updated:** [June 29, 2024, 8:00am UTC](https://discourse.julialang.org/t/modifying-ornsteinuhlenbeckbridge-in-differentialequations-jl/116168 "2024-06-29T08:00:53Z")

</div>

Suppose X(t) is an Ornstein-Uhlenbeck (OU) process, and Y(t; t\_0, T, u, v) is the respective OU bridge process such that Y(t\_0) = u, Y(T) = v, and 0 \\lt t \\lt T. I’ve had great use of simulating Y(t) using DiffEqNoisePr…

---

## [How many named colors are there in \`Makie\`?](https://discourse.julialang.org/t/how-many-named-colors-are-there-in-makie/116373)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 2\
**Last updated:** [June 29, 2024, 7:07am UTC](https://discourse.julialang.org/t/how-many-named-colors-are-there-in-makie/116373 "2024-06-29T07:07:40Z")

</div>

How many named colors (not the color bars) are there in Makie? For example, :red, :blue, :green, :yellow… Where can I find the full list?

---

## [How to add a legend to a violin plot?](https://discourse.julialang.org/t/how-to-add-a-legend-to-a-violin-plot/116374)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 3\
**Last updated:** [June 29, 2024, 7:06am UTC](https://discourse.julialang.org/t/how-to-add-a-legend-to-a-violin-plot/116374 "2024-06-29T07:06:51Z")

</div>

fig = Figure() ax = Axis(fig\[1, 1\]) categories = rand(1:3, 1000) values = randn(1000) violin!(ax, categories, values, color=(:red,0.3), label="data1") categories = rand(1:3, 1000) values = randn(1000) violin!(ax, categor…

---

## [Variables for power flow with condition in constraint](https://discourse.julialang.org/t/variables-for-power-flow-with-condition-in-constraint/116343)

<div class="topic-metadata">

**Author:** [@priantop](https://discourse.julialang.org/u/priantop)\
**Replies:** 2\
**Last updated:** [June 29, 2024, 4:42am UTC](https://discourse.julialang.org/t/variables-for-power-flow-with-condition-in-constraint/116343 "2024-06-29T04:42:58Z")

</div>

Hi, I am formulating LP problem using JuMP for electricity dispatch below is the MWE I have variables for power flow and export/import to neighbouring regions defined as follows using JuMP, HiGHS m = Model(HiGHS.Opt…

---

## [MTK: how to get all observed and unknown variable as a dataframe](https://discourse.julialang.org/t/mtk-how-to-get-all-observed-and-unknown-variable-as-a-dataframe/116250)

<div class="topic-metadata">

**Author:** [@wangyunyueyueniao](https://discourse.julialang.org/u/wangyunyueyueniao)\
**Replies:** 1\
**Last updated:** [June 29, 2024, 2:23am UTC](https://discourse.julialang.org/t/mtk-how-to-get-all-observed-and-unknown-variable-as-a-dataframe/116250 "2024-06-29T02:23:13Z")

</div>

As the documentation said, a solution can be exported to a dataframe of unkowns. Also I am able to export a couple of observed variables as long as there name is known. But now I want to export all of the observed and u…

---

## [Multiple solutions from MiniZinc?](https://discourse.julialang.org/t/multiple-solutions-from-minizinc/116367)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 4\
**Last updated:** [June 29, 2024, 12:14am UTC](https://discourse.julialang.org/t/multiple-solutions-from-minizinc/116367 "2024-06-29T00:14:29Z")

</div>

Hi, I am trying to see if it is possible to return multiple solutions from MiniZinc.jl. I am not sure how to set the flag to do so for the MiniZinc solver. Following the example at this stackoverflow question (Multiple o…

---

## [Issues with porting Turing.jl to RxInfer.jl](https://discourse.julialang.org/t/issues-with-porting-turing-jl-to-rxinfer-jl/115696)

<div class="topic-metadata">

**Author:** [@sdwfrost](https://discourse.julialang.org/u/sdwfrost)\
**Replies:** 3\
**Last updated:** [June 28, 2024, 9:49pm UTC](https://discourse.julialang.org/t/issues-with-porting-turing-jl-to-rxinfer-jl/115696 "2024-06-28T21:49:51Z")

</div>

Hi everyone, I’m trying to port a Turing.jl example to RxInfer.jl. However, the following throws an error; any tips on how to reformat? using OrdinaryDiffEq using SciMLSensitivity using RxInfer Y = \[7, 6, 10, 8, 13, 17…

---

## [Questions on \`hist | Makie\`](https://discourse.julialang.org/t/questions-on-hist-makie/116347)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 14\
**Last updated:** [June 28, 2024, 3:30pm UTC](https://discourse.julialang.org/t/questions-on-hist-makie/116347 "2024-06-28T15:30:03Z")

</div>

hist | Makie can draw multiple histograms on one figure like what follows But I wonder if these histograms share a same height scale so that we can compare between different histograms according to the bar heights. T…

---

## [Errors on 2nd Iteration of EnsembleGPUArrays when using Lux](https://discourse.julialang.org/t/errors-on-2nd-iteration-of-ensemblegpuarrays-when-using-lux/116280)

<div class="topic-metadata">

**Author:** [@TicTac](https://discourse.julialang.org/u/TicTac)\
**Replies:** 2\
**Last updated:** [June 28, 2024, 1:54pm UTC](https://discourse.julialang.org/t/errors-on-2nd-iteration-of-ensemblegpuarrays-when-using-lux/116280 "2024-06-28T13:54:03Z")

</div>

I’ve been trying to get some Lux UDEs trained using EnsembleGPUArray problems. I’m mostly following the SciML Automatic Model Discovery workflow to approximate an unmodeled disturbance in ODEs using some measured data. S…

---

## [Basic NN forward passage: CuArray fine, oneAPI array:](https://discourse.julialang.org/t/basic-nn-forward-passage-cuarray-fine-oneapi-array/116351)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 0\
**Last updated:** [June 28, 2024, 10:21am UTC](https://discourse.julialang.org/t/basic-nn-forward-passage-cuarray-fine-oneapi-array/116351 "2024-06-28T10:21:25Z")

</div>

Hello, I am “testing” GPU programming with a mock forward passage of a basic NN: using Test, oneAPI, BenchmarkTools, LinearAlgebra relu(x) = max(0,x) forward\_layer(x,w,w0,f) = f.(w\*x .+ w0) function forward\_network!…

---

## [Issue with StaticArrays in Boundary Value Problems](https://discourse.julialang.org/t/issue-with-staticarrays-in-boundary-value-problems/115024)

<div class="topic-metadata">

**Author:** [@RafaelDHR](https://discourse.julialang.org/u/RafaelDHR)\
**Replies:** 2\
**Last updated:** [June 28, 2024, 10:36am UTC](https://discourse.julialang.org/t/issue-with-staticarrays-in-boundary-value-problems/115024 "2024-06-28T10:36:11Z")

</div>

Greetings, Recently I’ve been using the amazing DifferentialEquations package. However, few days ago I noticed that the package used for Boundary Value Problems BoundaryValueDiffEq has some issues when using Static Arra…

---

## [Plot combination and rotation using CairoMakie and AlgebraOfGraphics](https://discourse.julialang.org/t/plot-combination-and-rotation-using-cairomakie-and-algebraofgraphics/116332)

<div class="topic-metadata">

**Author:** [@Bonjour-Lemonde](https://discourse.julialang.org/u/Bonjour-Lemonde)\
**Replies:** 2\
**Last updated:** [June 28, 2024, 9:14am UTC](https://discourse.julialang.org/t/plot-combination-and-rotation-using-cairomakie-and-algebraofgraphics/116332 "2024-06-28T09:14:17Z")

</div>

Hi all, I want to know how to achieve plotting as shown below: currently, I could only achieved plotting as shown below using the following code: using AlgebraOfGraphics using Distributions using DataFrames using…

---

## [DimensionalData: How to use a dimension whose name is stored in a variable](https://discourse.julialang.org/t/dimensionaldata-how-to-use-a-dimension-whose-name-is-stored-in-a-variable/116098)

<div class="topic-metadata">

**Author:** [@aasdelat](https://discourse.julialang.org/u/aasdelat)\
**Replies:** 6\
**Last updated:** [June 27, 2024, 9:47pm UTC](https://discourse.julialang.org/t/dimensionaldata-how-to-use-a-dimension-whose-name-is-stored-in-a-variable/116098 "2024-06-27T21:47:51Z")

</div>

I have to use data with one time dimension and two spatial dimensions (longitude and latitude). I use the Rasters.jl library to manage them, that creates DimensionalData.jl arrays. Sometimes, I have a variable, say slp,…

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

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