# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?page=278

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

**Page:** 279

---

## [Dynamic expreesion name in JuMP](https://discourse.julialang.org/t/dynamic-expreesion-name-in-jump/80995)

<div class="topic-metadata">

**Author:** [@manoj.centura](https://discourse.julialang.org/u/manoj.centura)\
**Replies:** 4\
**Last updated:** [May 25, 2022, 2:15pm UTC](https://discourse.julialang.org/t/dynamic-expreesion-name-in-jump/80995 "2022-05-25T14:15:11Z")

</div>

Hi All, is there a way to create dynamic expression name in Julia? like the code given below Julia 1.2 mod2=Model() @variable(mod2,x\[ i in 1:13\]) @variable(mod2,y\[ i in 1:13\]) @constraint(mod2, \[i in 1:13\], x\[i\]+y\[i\]\>=…

---

## [Heatmap from Matrix with custom indices](https://discourse.julialang.org/t/heatmap-from-matrix-with-custom-indices/81596)

<div class="topic-metadata">

**Author:** [@ctrebbau](https://discourse.julialang.org/u/ctrebbau)\
**Replies:** 20\
**Last updated:** [May 25, 2022, 5:13pm UTC](https://discourse.julialang.org/t/heatmap-from-matrix-with-custom-indices/81596 "2022-05-25T17:13:20Z")

</div>

Hello Community! I have data like so where I would like to visualise a heatmap of the TimeDiff\_mean column and the other two columns (representing a reticulation over geographical datapoints). I have sought for one …

---

## [Specifying JuMP solvers for function-wrapped optimization models](https://discourse.julialang.org/t/specifying-jump-solvers-for-function-wrapped-optimization-models/81030)

<div class="topic-metadata">

**Author:** [@Tominapa](https://discourse.julialang.org/u/Tominapa)\
**Replies:** 2\
**Last updated:** [May 25, 2022, 4:06pm UTC](https://discourse.julialang.org/t/specifying-jump-solvers-for-function-wrapped-optimization-models/81030 "2022-05-25T16:06:54Z")

</div>

I am building a package based around a specific optimization problem, implemented in JuMP. My code builds an optimization model based on input data, with most everything automated behind the scenes for user-friendliness…

---

## [CairoMakie broken rendering of axis and ticklabels](https://discourse.julialang.org/t/cairomakie-broken-rendering-of-axis-and-ticklabels/81635)

<div class="topic-metadata">

**Author:** [@mihrits](https://discourse.julialang.org/u/mihrits)\
**Replies:** 0\
**Last updated:** [May 25, 2022, 9:20am UTC](https://discourse.julialang.org/t/cairomakie-broken-rendering-of-axis-and-ticklabels/81635 "2022-05-25T09:20:58Z")

</div>

I am using CairoMakie to plot some results but found that in some circumstances some characters in axis labels and/or tick labels are rendered as boxes. For example, this code using CairoMakie fig = Figure(size=(200,200…

---

## [Precompiling ImageView generates an infinite cascade of windows](https://discourse.julialang.org/t/precompiling-imageview-generates-an-infinite-cascade-of-windows/81575)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 3\
**Last updated:** [May 25, 2022, 7:04am UTC](https://discourse.julialang.org/t/precompiling-imageview-generates-an-infinite-cascade-of-windows/81575 "2022-05-25T07:04:00Z")

</div>

Hi there! I’m trying to install ImageView but precompilation doesn’t work. Instead, it spawns an infinite sequence of other (terminal?) windows and I have no choice but to interrupt the process. Has anyone encountered a…

---

## [InexactError on write\_to\_file](https://discourse.julialang.org/t/inexacterror-on-write-to-file/81577)

<div class="topic-metadata">

**Author:** [@berkorbay](https://discourse.julialang.org/u/berkorbay)\
**Replies:** 4\
**Last updated:** [May 25, 2022, 6:10am UTC](https://discourse.julialang.org/t/inexacterror-on-write-to-file/81577 "2022-05-25T06:10:08Z")

</div>

Hi, I encountered a problem with writing model specs to an LP file. I was replicating the Diet Problem example on JuMP’s page. https://jump.dev/JuMP.jl/stable/tutorials/linear/diet/ Everything went fine until the end. …

---

## [Driftless Stochastic differential equation](https://discourse.julialang.org/t/driftless-stochastic-differential-equation/81525)

<div class="topic-metadata">

**Author:** [@stochasticguy](https://discourse.julialang.org/u/stochasticguy)\
**Replies:** 5\
**Last updated:** [May 24, 2022, 5:46pm UTC](https://discourse.julialang.org/t/driftless-stochastic-differential-equation/81525 "2022-05-24T17:46:21Z")

</div>

Hi everybody, I’m using the GREAT StochasticDiffEq.jl package to define a multidimensional driftless SDE as follows: using StochasticDiffEq function f!(du, u, p, t) du .= p\[1\] return nothing end function g!(d…

---

## [Parallel sparse solve and inverse](https://discourse.julialang.org/t/parallel-sparse-solve-and-inverse/81538)

<div class="topic-metadata">

**Author:** [@sobhan](https://discourse.julialang.org/u/sobhan)\
**Replies:** 0\
**Last updated:** [May 23, 2022, 8:32pm UTC](https://discourse.julialang.org/t/parallel-sparse-solve-and-inverse/81538 "2022-05-23T20:32:42Z")

</div>

So i need to solve a really big (and sparse) system of equation and to my knowledge there are no parallel sparse solvers for julia. I tried the pardiso for MKL but that wasn’t parallel and had performance similar to the …

---

## [Missing sparse methods](https://discourse.julialang.org/t/missing-sparse-methods/17596)

<div class="topic-metadata">

**Author:** [@Paul\_Hines](https://discourse.julialang.org/u/Paul_Hines)\
**Replies:** 3\
**Last updated:** [November 16, 2018, 6:24pm UTC](https://discourse.julialang.org/t/missing-sparse-methods/17596 "2018-11-16T18:24:10Z")

</div>

It seems like there are missing sparse matrix methods. In both 1.0.2 and 0.7 this code: using SparseArrays using LinearAlgebra A = sprand(10,10,.9) b\_dense = Array(sprand(10,1,.8)) # works b\_sparse = sprand(10,1,.8) # …

---

## [Freely moving agents in a GridSpace-like environment](https://discourse.julialang.org/t/freely-moving-agents-in-a-gridspace-like-environment/81586)

<div class="topic-metadata">

**Author:** [@Demlore](https://discourse.julialang.org/u/Demlore)\
**Replies:** 1\
**Last updated:** [May 24, 2022, 1:57pm UTC](https://discourse.julialang.org/t/freely-moving-agents-in-a-gridspace-like-environment/81586 "2022-05-24T13:57:03Z")

</div>

I am currently trying to implement a model similar to the model “Predator-prey dynamics” from the Example Zoo. My current issue is that i need freely moving agents in a space made out of square patches just like the e…

---

## [Optimization computational time](https://discourse.julialang.org/t/optimization-computational-time/81558)

<div class="topic-metadata">

**Author:** [@O\_olalekan](https://discourse.julialang.org/u/O_olalekan)\
**Replies:** 2\
**Last updated:** [May 24, 2022, 11:50am UTC](https://discourse.julialang.org/t/optimization-computational-time/81558 "2022-05-24T11:50:31Z")

</div>

I read several materials on the computational time of optimization models. The MILP computational time has always been faster than the NLP formulation. I then stumbled on an article which got that the computational time …

---

## [How to plot ~10 billion datapoint time series efficiently?](https://discourse.julialang.org/t/how-to-plot-10-billion-datapoint-time-series-efficiently/81228)

<div class="topic-metadata">

**Author:** [@hk69](https://discourse.julialang.org/u/hk69)\
**Replies:** 47\
**Last updated:** [May 24, 2022, 11:26am UTC](https://discourse.julialang.org/t/how-to-plot-10-billion-datapoint-time-series-efficiently/81228 "2022-05-24T11:26:35Z")

</div>

Hi, I am relatively new to Julia. I have a physics model that I implemented in Julia. I solve the differential equations to track the orbit of two blackholes over a period of about 5 years with very small time step. My …

---

## [A simple model which I can't get Turing to fit to simulated data](https://discourse.julialang.org/t/a-simple-model-which-i-cant-get-turing-to-fit-to-simulated-data/81572)

<div class="topic-metadata">

**Author:** [@lgrozinger](https://discourse.julialang.org/u/lgrozinger)\
**Replies:** 1\
**Last updated:** [May 24, 2022, 11:12am UTC](https://discourse.julialang.org/t/a-simple-model-which-i-cant-get-turing-to-fit-to-simulated-data/81572 "2022-05-24T11:12:58Z")

</div>

Having just started with Turing, I am unable to understand why this model does not produce good results. using Turing using MCMCChains λ = Normal(0, 1) data = rand.(Poisson.(exp.(rand(λ, 2^16)))) @model function m(y, …

---

## [ERROR: UndefVarError: parameters not defined](https://discourse.julialang.org/t/error-undefvarerror-parameters-not-defined/81385)

<div class="topic-metadata">

**Author:** [@Hupdup](https://discourse.julialang.org/u/Hupdup)\
**Replies:** 6\
**Last updated:** [May 24, 2022, 7:50am UTC](https://discourse.julialang.org/t/error-undefvarerror-parameters-not-defined/81385 "2022-05-24T07:50:06Z")

</div>

Hi, I want to do some reinforcement learning in Julia, but when I want to perform my action, it always gives me this error. do you know what i should do? I already downloaded the latest version of the packages. functio…

---

## [Ever increasing time for garbage collection](https://discourse.julialang.org/t/ever-increasing-time-for-garbage-collection/81543)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 7\
**Last updated:** [May 23, 2022, 11:10pm UTC](https://discourse.julialang.org/t/ever-increasing-time-for-garbage-collection/81543 "2022-05-23T23:10:55Z")

</div>

Hello, I have a simulation that is running in real-time for an undefined period of time (until you stop it). I solve my equation system every 50ms. For one solution about 800 calls to the inner residual function are ne…

---

## [Error when trying to specify the initial simplex of Nelder Mead method in GalacticOptim.jl](https://discourse.julialang.org/t/error-when-trying-to-specify-the-initial-simplex-of-nelder-mead-method-in-galacticoptim-jl/81506)

<div class="topic-metadata">

**Author:** [@martinmestre](https://discourse.julialang.org/u/martinmestre)\
**Replies:** 10\
**Last updated:** [May 23, 2022, 10:22pm UTC](https://discourse.julialang.org/t/error-when-trying-to-specify-the-initial-simplex-of-nelder-mead-method-in-galacticoptim-jl/81506 "2022-05-23T22:22:20Z")

</div>

Hello, I would need help with the following error when trying specify the a,b parameters of the initial simplex constructor. I gives the same error even if I call the constructor without arguments. I have Julia 1.7.2. …

---

## [Use add\_to\_expression!() for multi-dimension expressions](https://discourse.julialang.org/t/use-add-to-expression-for-multi-dimension-expressions/81532)

<div class="topic-metadata">

**Author:** [@xuqingyu](https://discourse.julialang.org/u/xuqingyu)\
**Replies:** 3\
**Last updated:** [May 23, 2022, 9:52pm UTC](https://discourse.julialang.org/t/use-add-to-expression-for-multi-dimension-expressions/81532 "2022-05-23T21:52:51Z")

</div>

Hi all, May I have your suggestions on how to use add\_to\_expression!() to add one multi-dimension expressions to another? Say I have an expression A with dimension (n x m), and an expression B with dimension (n x m). …

---

## [Does Makie.save("name", scene) also save the legends on the plot automatically?](https://discourse.julialang.org/t/does-makie-save-name-scene-also-save-the-legends-on-the-plot-automatically/81492)

<div class="topic-metadata">

**Author:** [@Nihilol1](https://discourse.julialang.org/u/Nihilol1)\
**Replies:** 6\
**Last updated:** [May 23, 2022, 8:00pm UTC](https://discourse.julialang.org/t/does-makie-save-name-scene-also-save-the-legends-on-the-plot-automatically/81492 "2022-05-23T20:00:27Z")

</div>

My simplified code looks as follows: using GLMakie fig1 = Figure() ax1 = Axis(fig1\[1,1\], xlabel = “What”, ylabel = “is going on”) GLMakie.scatter!(ax1, xvalues, yvalues, makersize = 4, color = colours, label = “pleas…

---

## [Interpolating scattered data points to create topological EEG voltage map](https://discourse.julialang.org/t/interpolating-scattered-data-points-to-create-topological-eeg-voltage-map/78622)

<div class="topic-metadata">

**Author:** [@AAlshammaa](https://discourse.julialang.org/u/AAlshammaa)\
**Replies:** 2\
**Last updated:** [May 23, 2022, 6:11pm UTC](https://discourse.julialang.org/t/interpolating-scattered-data-points-to-create-topological-eeg-voltage-map/78622 "2022-05-23T18:11:01Z")

</div>

I have a dataset with EEG data that I read into Julia from Matlab file. The data is for a single time point from simultaneous 64 channels. Each channel has x, y coordinates, and value at those coordinates. My aim is to i…

---

## [JuMP Termination\_status category](https://discourse.julialang.org/t/jump-termination-status-category/81524)

<div class="topic-metadata">

**Author:** [@oxinabox](https://discourse.julialang.org/u/oxinabox)\
**Replies:** 1\
**Last updated:** [May 23, 2022, 5:29pm UTC](https://discourse.julialang.org/t/jump-termination-status-category/81524 "2022-05-23T17:29:00Z")

</div>

JuMP’s docs break termination status into 3 groups Solved, Solved to relaxed tolerances, limits, and problemantic. Is there a way to take a termination status and get which one of these groups it is in? I could write …

---

## [Makie Layoutables documentation and SliderGrid Example Error](https://discourse.julialang.org/t/makie-layoutables-documentation-and-slidergrid-example-error/81478)

<div class="topic-metadata">

**Author:** [@nelsonah](https://discourse.julialang.org/u/nelsonah)\
**Replies:** 5\
**Last updated:** [May 23, 2022, 4:57pm UTC](https://discourse.julialang.org/t/makie-layoutables-documentation-and-slidergrid-example-error/81478 "2022-05-23T16:57:59Z")

</div>

I am having difficulty finding documentation on Makie layoutables. Blocks & Widgets has some nice examples but where can I find more detailed documentation on the various CURRENT blocks? In addition, the SliderGrid exa…

---

## [Warning when using "DiffEqFlux.sciml\_train" and "ModelingToolkit.structural\_simplify"](https://discourse.julialang.org/t/warning-when-using-diffeqflux-sciml-train-and-modelingtoolkit-structural-simplify/81449)

<div class="topic-metadata">

**Author:** [@mzhenirovskyy](https://discourse.julialang.org/u/mzhenirovskyy)\
**Replies:** 8\
**Last updated:** [May 23, 2022, 3:56pm UTC](https://discourse.julialang.org/t/warning-when-using-diffeqflux-sciml-train-and-modelingtoolkit-structural-simplify/81449 "2022-05-23T15:56:43Z")

</div>

Hi All, I want to use “DiffEqFlux.sciml\_train” to get parameters after using “ModelingToolkit.structural\_simplify”. I’m able to get a reasonable result but have a weird warning: Warning: Warning: Unrecognized keyword …

---

## [How how send file with post in StippleUI.form?](https://discourse.julialang.org/t/how-how-send-file-with-post-in-stippleui-form/81390)

<div class="topic-metadata">

**Author:** [@Rafael\_Brus](https://discourse.julialang.org/u/Rafael_Brus)\
**Replies:** 2\
**Last updated:** [May 23, 2022, 3:47pm UTC](https://discourse.julialang.org/t/how-how-send-file-with-post-in-stippleui-form/81390 "2022-05-23T15:47:19Z")

</div>

Why doesn’t this work? using Genie, Stipple using Genie.Requests using StippleUI Genie.config.cors\_headers\["Access-Control-Allow-Origin"\] = "\*" Genie.config.cors\_headers\["Access-Control-Allow-Headers"\] = "Content-Typ…

---

## [Declare type of @variable (e.g. complex) in ModelingToolkit.jl](https://discourse.julialang.org/t/declare-type-of-variable-e-g-complex-in-modelingtoolkit-jl/59563)

<div class="topic-metadata">

**Author:** [@Sciemon](https://discourse.julialang.org/u/Sciemon)\
**Replies:** 4\
**Last updated:** [May 23, 2022, 12:57pm UTC](https://discourse.julialang.org/t/declare-type-of-variable-e-g-complex-in-modelingtoolkit-jl/59563 "2022-05-23T12:57:27Z")

</div>

Is there a way to declare the type of a variable in ModelingToolkit.jl? For example something like @variables a(t)::complex I’m excited to start with ModelingToolkit.jl having followed its development for a while. In m…

---

## [MLJ.fit! complain "UndefVarError: level not defined" in a sysimage](https://discourse.julialang.org/t/mlj-fit-complain-undefvarerror-level-not-defined-in-a-sysimage/81499)

<div class="topic-metadata">

**Author:** [@tiZ](https://discourse.julialang.org/u/tiZ)\
**Replies:** 1\
**Last updated:** [May 23, 2022, 9:48am UTC](https://discourse.julialang.org/t/mlj-fit-complain-undefvarerror-level-not-defined-in-a-sysimage/81499 "2022-05-23T09:48:45Z")

</div>

Hello, I try to fit a simple logistic regression in Julia, with a sysimage, which loaded these packages : “OhMyREPL” “Plots” “GLMakie” “DataFrames” “RCall” “PyCall” “CSV” “Flux” “Random” “TensorBoardLogger” Here is m…

---

## [Define variables on each elemnts of a vector of vectors](https://discourse.julialang.org/t/define-variables-on-each-elemnts-of-a-vector-of-vectors/81495)

<div class="topic-metadata">

**Author:** [@Optimization](https://discourse.julialang.org/u/Optimization)\
**Replies:** 2\
**Last updated:** [May 23, 2022, 9:42am UTC](https://discourse.julialang.org/t/define-variables-on-each-elemnts-of-a-vector-of-vectors/81495 "2022-05-23T09:42:54Z")

</div>

I’m trying to find a way to define a varible x\_ijk where i in I is an n-elemnts vector of vectors, j in J and k in K are both vectors. In my case, always the length of K is equal to the number of vectors in I . The que…

---

## [Animated image to illustrate sequence of moves](https://discourse.julialang.org/t/animated-image-to-illustrate-sequence-of-moves/81412)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 5\
**Last updated:** [May 23, 2022, 7:20am UTC](https://discourse.julialang.org/t/animated-image-to-illustrate-sequence-of-moves/81412 "2022-05-23T07:20:30Z")

</div>

I would like to know if it is possible to show the solutions of this problem in a dynamic way with an animated sequence of images that illustrate the various steps of the solution sequence. In summary I have a nxn table…

---

## [How to specify barrier method to use?](https://discourse.julialang.org/t/how-to-specify-barrier-method-to-use/81290)

<div class="topic-metadata">

**Author:** [@Popeye](https://discourse.julialang.org/u/Popeye)\
**Replies:** 6\
**Last updated:** [May 22, 2022, 11:39pm UTC](https://discourse.julialang.org/t/how-to-specify-barrier-method-to-use/81290 "2022-05-22T23:39:03Z")

</div>

I am trying to use the barrier method using Xpress solver, but I have not been able to find the right option/attribute anywhere. The Julia wrapper for Xpress doesn’t have much documentation. The official documentation st…

---

## [Change the constraints name iteratively to JUMP model](https://discourse.julialang.org/t/change-the-constraints-name-iteratively-to-jump-model/81359)

<div class="topic-metadata">

**Author:** [@ayodyas](https://discourse.julialang.org/u/ayodyas)\
**Replies:** 1\
**Last updated:** [May 22, 2022, 8:34pm UTC](https://discourse.julialang.org/t/change-the-constraints-name-iteratively-to-jump-model/81359 "2022-05-22T20:34:12Z")

</div>

I am new to JUMP model and Julia, I have created a JUMP model, with a constraint inside a while loop I wanted to change the constraint name in each iteration and optimize the model again for example: if i=1 @cons…

---

## [Lasso Regression of Matrix of Vectors](https://discourse.julialang.org/t/lasso-regression-of-matrix-of-vectors/81470)

<div class="topic-metadata">

**Author:** [@Alexander\_Scott](https://discourse.julialang.org/u/Alexander_Scott)\
**Replies:** 2\
**Last updated:** [May 22, 2022, 8:30pm UTC](https://discourse.julialang.org/t/lasso-regression-of-matrix-of-vectors/81470 "2022-05-22T20:30:02Z")

</div>

Hi all, I’m currently using Convex.jl as one of the packages to solve an optimisation problem. I was wondering if anyone may able to offer any insight into the issue I’m facing. Currently, I am trying to perform a Lass…

[Previous page](https://discourse.julialang.org/c/domain/10.md?page=277)

[Next page](https://discourse.julialang.org/c/domain/10.md?page=279)
