# Specific Domains

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

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

**Page:** 365

---

## [Is AMD CPU more sensitive to false-sharing than Intel and Power?](https://discourse.julialang.org/t/is-amd-cpu-more-sensitive-to-false-sharing-than-intel-and-power/61679)

<div class="topic-metadata">

**Author:** [@tkf](https://discourse.julialang.org/u/tkf)\
**Replies:** 1\
**Last updated:** [May 23, 2021, 3:52pm UTC](https://discourse.julialang.org/t/is-amd-cpu-more-sensitive-to-false-sharing-than-intel-and-power/61679 "2021-05-23T15:52:50Z")

</div>

I tried to come up with a robust and minimal false sharing example (so that I can play with perf c2c). But it turned out the following example (from the previous discussion in Zulip) only shows the effect of false sharin…

---

## [DiffEqFlux: SOSRA2() algorithm + BacksolveAdjoint() gives an error](https://discourse.julialang.org/t/diffeqflux-sosra2-algorithm-backsolveadjoint-gives-an-error/61237)

<div class="topic-metadata">

**Author:** [@SvenDummer](https://discourse.julialang.org/u/SvenDummer)\
**Replies:** 2\
**Last updated:** [May 23, 2021, 8:36am UTC](https://discourse.julialang.org/t/diffeqflux-sosra2-algorithm-backsolveadjoint-gives-an-error/61237 "2021-05-23T08:36:00Z")

</div>

Hi everyone. I have a question related to fitting a Neural SDE using DiffEqFlux.jl. Description of the problem that is solved: Given a specific SDE system, I want to steer that system (with a particular control) to the…

---

## [SDDP:MethodError: no method matching \*(::Float64, ::SDDP.State{VariableRef})](https://discourse.julialang.org/t/sddp-no-method-matching-float64-sddp-state-variableref/61666)

<div class="topic-metadata">

**Author:** [@BYS](https://discourse.julialang.org/u/BYS)\
**Replies:** 4\
**Last updated:** [May 23, 2021, 4:13am UTC](https://discourse.julialang.org/t/sddp-no-method-matching-float64-sddp-state-variableref/61666 "2021-05-23T04:13:36Z")

</div>

Hi, If I write using SDDP,Gurobi a=2\*ones(10) a\[1\]=3 a\[2\]=4 ini\_a=ones(10); c\_a=ones(10); model = SDDP.LinearPolicyGraph( stages = 3, sense = :Min, lower\_bound = 0.0, optimizer = Gurobi.Optimizer, ) do …

---

## [SDDiP.jl - LoadError: AssertionError: \[...\] == :Optimal](https://discourse.julialang.org/t/sddip-jl-loaderror-assertionerror-optimal/24781)

<div class="topic-metadata">

**Author:** [@eltuck](https://discourse.julialang.org/u/eltuck)\
**Replies:** 10\
**Last updated:** [May 23, 2021, 2:47am UTC](https://discourse.julialang.org/t/sddip-jl-loaderror-assertionerror-optimal/24781 "2021-05-23T02:47:35Z")

</div>

Hi all, I’m new to Julia (coming from AMPL), and I’m trying to solve a model using the SDDiP algorithm implemented in SDDiP.jl and CPLEX. I’m able to implement many of the example models, and the algorithm generally wo…

---

## [Trying to solve a puzzle](https://discourse.julialang.org/t/trying-to-solve-a-puzzle/61515)

<div class="topic-metadata">

**Author:** [@sogrbilja](https://discourse.julialang.org/u/sogrbilja)\
**Replies:** 23\
**Last updated:** [May 23, 2021, 2:32am UTC](https://discourse.julialang.org/t/trying-to-solve-a-puzzle/61515 "2021-05-23T02:32:19Z")

</div>

Just recently I bumped on this: The PuzzlOR and I want to play a bit with that and solve it using JuMP. My approach is not yet certain, but something like this: load data into DICT(string, int) \* actually just 0 or 1 …

---

## [Experience with using SimJulia](https://discourse.julialang.org/t/experience-with-using-simjulia/20232)

<div class="topic-metadata">

**Author:** [@stroebel](https://discourse.julialang.org/u/stroebel)\
**Replies:** 1\
**Last updated:** [May 23, 2021, 1:54am UTC](https://discourse.julialang.org/t/experience-with-using-simjulia/20232 "2021-05-23T01:54:19Z")

</div>

I am trying to follow along with one of the examples in the documentation of the library and in the code sample below I have the problem that the function silently “vanishes” at the line val = @yield ... and the simulati…

---

## [Can JuMP.fix be use to fix Array{Float64,1} to Array{VariableRef,1}](https://discourse.julialang.org/t/can-jump-fix-be-use-to-fix-array-float64-1-to-array-variableref-1/61640)

<div class="topic-metadata">

**Author:** [@BYS](https://discourse.julialang.org/u/BYS)\
**Replies:** 3\
**Last updated:** [May 23, 2021, 1:27am UTC](https://discourse.julialang.org/t/can-jump-fix-be-use-to-fix-array-float64-1-to-array-variableref-1/61640 "2021-05-23T01:27:12Z")

</div>

Hi, I find if I write model=Model(); ep=ones(20); @variable(model,ep1\[1:20\]); JuMP.fix(ep1,ep); I find it cannot be deal with, and do the JuMP.fix need to fix one by one? and How can I do it? Thanks a lot.

---

## [Best practice for storing data in Packages](https://discourse.julialang.org/t/best-practice-for-storing-data-in-packages/36808)

<div class="topic-metadata">

**Author:** [@ashiklom](https://discourse.julialang.org/u/ashiklom)\
**Replies:** 5\
**Last updated:** [May 23, 2021, 12:13am UTC](https://discourse.julialang.org/t/best-practice-for-storing-data-in-packages/36808 "2021-05-23T00:13:51Z")

</div>

I would like to create a package for a model that ships with its own internal data. Basically, I’m looking for the Julia equivalent to R’s R/sysdata.rda (link). I currently have something that looks like this: module M…

---

## [Convolutional Bayesian Neural Networks](https://discourse.julialang.org/t/convolutional-bayesian-neural-networks/61650)

<div class="topic-metadata">

**Author:** [@sapo](https://discourse.julialang.org/u/sapo)\
**Replies:** 7\
**Last updated:** [May 22, 2021, 7:51pm UTC](https://discourse.julialang.org/t/convolutional-bayesian-neural-networks/61650 "2021-05-22T19:51:35Z")

</div>

Hello, I need to implement convolutional and partly bayesian neural networks. I looked into Turing.jl but it looks like it still doesn’t provide such option. Any suggestion?

---

## [Display an image on a GUI](https://discourse.julialang.org/t/display-an-image-on-a-gui/57500)

<div class="topic-metadata">

**Author:** [@Saliha](https://discourse.julialang.org/u/Saliha)\
**Replies:** 2\
**Last updated:** [May 22, 2021, 5:21pm UTC](https://discourse.julialang.org/t/display-an-image-on-a-gui/57500 "2021-05-22T17:21:25Z")

</div>

Hello! I am a beginner with julia programming. I am building a desktop app for a 3d plant architecture model. I am using Interact and blink. I need to insert images to my app (expl logo). I coudn’t find on the Interact …

---

## [Reusing exact same layer and parameters](https://discourse.julialang.org/t/reusing-exact-same-layer-and-parameters/61618)

<div class="topic-metadata">

**Author:** [@crinders](https://discourse.julialang.org/u/crinders)\
**Replies:** 3\
**Last updated:** [May 22, 2021, 2:27pm UTC](https://discourse.julialang.org/t/reusing-exact-same-layer-and-parameters/61618 "2021-05-22T14:27:46Z")

</div>

I want to reuse the exact same layer in a network. But I can’t figure out whether my naive approach will do that. My toy architecture is using Flux D1 = Dense(2,2) D2 = Dense(2,2) NaiveReuse = Chain(D1, Parallel(vcat,Ch…

---

## [Makie - DataInspector - GLFWError (PLATFORM\_ERROR)](https://discourse.julialang.org/t/makie-datainspector-glfwerror-platform-error/61630)

<div class="topic-metadata">

**Author:** [@walra356](https://discourse.julialang.org/u/walra356)\
**Replies:** 1\
**Last updated:** [May 22, 2021, 12:00pm UTC](https://discourse.julialang.org/t/makie-datainspector-glfwerror-platform-error/61630 "2021-05-22T12:00:20Z")

</div>

The DataInspector is a great new asset of Makie. I took it immediately in use. Thanks to the developers! Unfortunately, I found that after inspecting data for some time an unidentified interrupt spoils the joy with the…

---

## [Cannot locate artifact 'libknet8' in KNet](https://discourse.julialang.org/t/cannot-locate-artifact-libknet8-in-knet/61631)

<div class="topic-metadata">

**Author:** [@gforchini](https://discourse.julialang.org/u/gforchini)\
**Replies:** 0\
**Last updated:** [May 22, 2021, 10:10am UTC](https://discourse.julialang.org/t/cannot-locate-artifact-libknet8-in-knet/61631 "2021-05-22T10:10:09Z")

</div>

Hello, I have downloaded Knet from https://github.com/denizyuret/Knet.jl (but I have the same problem when I download Knet with Pkg.add(“Knet”)) to a Nvidia Jetson Nano (as it is an inexpensive method to finalise a Mon…

---

## [Why is this optimization problem so slow in Julia? In R it took 60s](https://discourse.julialang.org/t/why-is-this-optimization-problem-so-slow-in-julia-in-r-it-took-60s/61557)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 31\
**Last updated:** [May 22, 2021, 9:52am UTC](https://discourse.julialang.org/t/why-is-this-optimization-problem-so-slow-in-julia-in-r-it-took-60s/61557 "2021-05-22T09:52:28Z")

</div>

Update I copied the data and the code into a repo GitHub - xiaodaigh/optim-slow-julia I am trying to estimate the strength of Go player ( or any other two player broad game where the only outcomes are win or loser). M…

---

## [Colorschemes stopped working](https://discourse.julialang.org/t/colorschemes-stopped-working/61574)

<div class="topic-metadata">

**Author:** [@Tbl](https://discourse.julialang.org/u/Tbl)\
**Replies:** 5\
**Last updated:** [May 22, 2021, 4:52am UTC](https://discourse.julialang.org/t/colorschemes-stopped-working/61574 "2021-05-22T04:52:52Z")

</div>

I have a rather strange bug. For seemingly no reason everything related to colorschemes.jl stopped working for me in Julia 1.6, Plots 1.0.14. Colorschemes from ColorSchemes · Plots are not available too. For example usi…

---

## [Status of relaxation: NORM\_LIMIT](https://discourse.julialang.org/t/status-of-relaxation-norm-limit/61078)

<div class="topic-metadata">

**Author:** [@manoj.centura](https://discourse.julialang.org/u/manoj.centura)\
**Replies:** 7\
**Last updated:** [May 21, 2021, 9:39pm UTC](https://discourse.julialang.org/t/status-of-relaxation-norm-limit/61078 "2021-05-21T21:39:21Z")

</div>

Hi All, I am solving an MINLP using Juniper and getting this Status of relaxation: NORM\_LIMIT any suggestions how to resolve this. Thanks

---

## [A comparison of common distributions in Julia, Python and R](https://discourse.julialang.org/t/a-comparison-of-common-distributions-in-julia-python-and-r/61604)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [May 21, 2021, 9:06pm UTC](https://discourse.julialang.org/t/a-comparison-of-common-distributions-in-julia-python-and-r/61604 "2021-05-21T21:06:41Z")

</div>

Common distributions in Julia, Python and R Please report errors on GitHub - sylvaticus/commonDistributionsInJuliaPythonR: Common probability distributions in Julia, Python and R Loading packages Julia: using Distri…

---

## [How can I forcefully bridge sum-of-squares constraints into PSD constraints?](https://discourse.julialang.org/t/how-can-i-forcefully-bridge-sum-of-squares-constraints-into-psd-constraints/61365)

<div class="topic-metadata">

**Author:** [@ciba12](https://discourse.julialang.org/u/ciba12)\
**Replies:** 4\
**Last updated:** [May 21, 2021, 8:48pm UTC](https://discourse.julialang.org/t/how-can-i-forcefully-bridge-sum-of-squares-constraints-into-psd-constraints/61365 "2021-05-21T20:48:37Z")

</div>

Hi everyone, I have model written using SumOfSquares.jl, it contains “F in S” pairs such as Vector{AffExpr}\`-in-\`SumOfSquares.SOSPolynomialSet{BasicSemialgebraicSet{Float64, Polynomial{true, Float64}, FullSpace}, Monom…

---

## [GaussianMixtures question](https://discourse.julialang.org/t/gaussianmixtures-question/61526)

<div class="topic-metadata">

**Author:** [@SergeantMike67](https://discourse.julialang.org/u/SergeantMike67)\
**Replies:** 8\
**Last updated:** [May 21, 2021, 7:11pm UTC](https://discourse.julialang.org/t/gaussianmixtures-question/61526 "2021-05-21T19:11:20Z")

</div>

I have a dataset that results from calculating the CpG observed over expected (an estimation of cytosine methylation in the genome) and I am trying to fit the data into a two mean, 1D Gaussian Mixture model using Gaussia…

---

## [Blank Heatmaps in GLMakie](https://discourse.julialang.org/t/blank-heatmaps-in-glmakie/61567)

<div class="topic-metadata">

**Author:** [@tt1234567](https://discourse.julialang.org/u/tt1234567)\
**Replies:** 22\
**Last updated:** [May 21, 2021, 5:48pm UTC](https://discourse.julialang.org/t/blank-heatmaps-in-glmakie/61567 "2021-05-21T17:48:21Z")

</div>

I’ve tried the recent exciting Makie update but heatmaps all seem to come out completely blank. E.g. using GLMakie fig = Figure() ax = fig\[1,1\] = Axis(fig) hm = heatmap!(ax,randn(5, 5), axis = (aspect = 1,)) Colorbar(fi…

---

## [How can I trigger Node(array) after changing array element in Makie?](https://discourse.julialang.org/t/how-can-i-trigger-node-array-after-changing-array-element-in-makie/61414)

<div class="topic-metadata">

**Author:** [@LSellers](https://discourse.julialang.org/u/LSellers)\
**Replies:** 3\
**Last updated:** [May 21, 2021, 5:07pm UTC](https://discourse.julialang.org/t/how-can-i-trigger-node-array-after-changing-array-element-in-makie/61414 "2021-05-21T17:07:19Z")

</div>

The root issue is that when I have data = Node(\[1 2 3 4 5 6\]), I cannot force data to update elsewhere by simply changing the value of one element (data\[\]\[1\] = 0). As far as I can tell, I have to assign data\[\] = \[0 2 3 …

---

## [How many ways can it be reshaped?](https://discourse.julialang.org/t/how-many-ways-can-it-be-reshaped/61530)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 3\
**Last updated:** [May 21, 2021, 3:24pm UTC](https://discourse.julialang.org/t/how-many-ways-can-it-be-reshaped/61530 "2021-05-21T15:24:43Z")

</div>

I have found a few ways to solve the following problem, but I’m sure there are many others. X=\["Product\_id","Date","Unit","Revenue","Product\_id","Date","Unit","Revenue","Product\_id","Date","Unit","Revenue"\] Y=\["1234","0…

---

## [Basic question on distributing modules](https://discourse.julialang.org/t/basic-question-on-distributing-modules/61542)

<div class="topic-metadata">

**Author:** [@threadedblue](https://discourse.julialang.org/u/threadedblue)\
**Replies:** 2\
**Last updated:** [May 21, 2021, 12:38pm UTC](https://discourse.julialang.org/t/basic-question-on-distributing-modules/61542 "2021-05-21T12:38:14Z")

</div>

I am using Julia 1.6.1 with Distributed. Q: Must I first install a module on every node in a cluster to use it? Or is there a way to “push” a module to where it’s needed at runtime? Apparently, if my reading is any g…

---

## [Multivariate noncentral hypergeometric distributions](https://discourse.julialang.org/t/multivariate-noncentral-hypergeometric-distributions/58450)

<div class="topic-metadata">

**Author:** [@EvoArt](https://discourse.julialang.org/u/EvoArt)\
**Replies:** 5\
**Last updated:** [May 21, 2021, 9:59am UTC](https://discourse.julialang.org/t/multivariate-noncentral-hypergeometric-distributions/58450 "2021-05-21T09:59:49Z")

</div>

Hi there Just wondering if there are plans for the inclusion of multivariate noncentral hypergeometric distributions in Distributions.jl? In particular, I need to make use of Wallenius’ version. If it’s not on the card…

---

## [Loading modules on multipole nodes](https://discourse.julialang.org/t/loading-modules-on-multipole-nodes/61569)

<div class="topic-metadata">

**Author:** [@Frisus95](https://discourse.julialang.org/u/Frisus95)\
**Replies:** 0\
**Last updated:** [May 21, 2021, 9:42am UTC](https://discourse.julialang.org/t/loading-modules-on-multipole-nodes/61569 "2021-05-21T09:42:27Z")

</div>

Good day everyone! As the title suggests, I have a question about how to run a parallel computation on multiple nodes in a cluster. My julia code calls an external library, written in C, and then parallelizes across mu…

---

## [How to handle missings in CairoMakie](https://discourse.julialang.org/t/how-to-handle-missings-in-cairomakie/61566)

<div class="topic-metadata">

**Author:** [@vjd](https://discourse.julialang.org/u/vjd)\
**Replies:** 4\
**Last updated:** [May 21, 2021, 9:07am UTC](https://discourse.julialang.org/t/how-to-handle-missings-in-cairomakie/61566 "2021-05-21T09:07:51Z")

</div>

How does one handle missing in plots? I am on \[13f3f980\] CairoMakie v0.4.5 Reproducer below. I haven’t grouped by id below, but besides that point, how do we plot dv2. The only way I can see doing that now is to cre…

---

## [Difficulty producing Contour plots of multidimensional data, with x-values different for each time step](https://discourse.julialang.org/t/difficulty-producing-contour-plots-of-multidimensional-data-with-x-values-different-for-each-time-step/61560)

<div class="topic-metadata">

**Author:** [@CosmoProf](https://discourse.julialang.org/u/CosmoProf)\
**Replies:** 0\
**Last updated:** [May 21, 2021, 7:18am UTC](https://discourse.julialang.org/t/difficulty-producing-contour-plots-of-multidimensional-data-with-x-values-different-for-each-time-step/61560 "2021-05-21T07:18:47Z")

</div>

Hi, I have a set of 2-dimensional data, defined over an array of timesteps, but at each timestep the position x-values are different. I’m trying to get contour plots, but the plots come up blank, and each time I get the …

---

## [Apply a function in-place to a DataFrame column and return a new dataframe with replaced column](https://discourse.julialang.org/t/apply-a-function-in-place-to-a-dataframe-column-and-return-a-new-dataframe-with-replaced-column/61545)

<div class="topic-metadata">

**Author:** [@anon71627001](https://discourse.julialang.org/u/anon71627001)\
**Replies:** 1\
**Last updated:** [May 20, 2021, 11:04pm UTC](https://discourse.julialang.org/t/apply-a-function-in-place-to-a-dataframe-column-and-return-a-new-dataframe-with-replaced-column/61545 "2021-05-20T23:04:11Z")

</div>

Hi, is there a function to apply a function to each value in specific column of a DataFrame, and then return a DataFrame with the new column replacing the old column even if it has a different eltype? Something like mut…

---

## [Pkg.instantiate() takes a very long time on a remote worker](https://discourse.julialang.org/t/pkg-instantiate-takes-a-very-long-time-on-a-remote-worker/61498)

<div class="topic-metadata">

**Author:** [@gobs](https://discourse.julialang.org/u/gobs)\
**Replies:** 2\
**Last updated:** [May 20, 2021, 3:56pm UTC](https://discourse.julialang.org/t/pkg-instantiate-takes-a-very-long-time-on-a-remote-worker/61498 "2021-05-20T15:56:33Z")

</div>

I’m trying to use multiple nodes for a parallel algorithm, but currently Pkg.instantiate() takes far too long, as in 20+ minutes, so long that my 30 minute job timed out. Is there a way to speed this up? Is this normal?

---

## [Slow model generation in JUMP](https://discourse.julialang.org/t/slow-model-generation-in-jump/61477)

<div class="topic-metadata">

**Author:** [@Popeye](https://discourse.julialang.org/u/Popeye)\
**Replies:** 13\
**Last updated:** [May 20, 2021, 12:55pm UTC](https://discourse.julialang.org/t/slow-model-generation-in-jump/61477 "2021-05-20T12:55:55Z")

</div>

I need to decide between using JUMP and Python-MIP for a large MILP. Python-MIP has some impressive benchmarks on its website, and provides more features such as lazy constraints and call-backs with CBC solver. But here …

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

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