# Specific Domains

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

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

**Page:** 247

---

## [How to use a solution as starting point to run my NL model again after modifying something (e.g. a constraint)?](https://discourse.julialang.org/t/how-to-use-a-solution-as-starting-point-to-run-my-nl-model-again-after-modifying-something-e-g-a-constraint/88203)

<div class="topic-metadata">

**Author:** [@Angel127](https://discourse.julialang.org/u/Angel127)\
**Replies:** 2\
**Last updated:** [October 8, 2022, 4:38am UTC](https://discourse.julialang.org/t/how-to-use-a-solution-as-starting-point-to-run-my-nl-model-again-after-modifying-something-e-g-a-constraint/88203 "2022-10-08T04:38:44Z")

</div>

I have a NL model, and it finds a locally optimal solution after two hours. I would like to apply a nested for loop to use the epsilon constrained method. Then, on each iteration, some right-hand side coefficients will b…

---

## [Model creation inside a loop](https://discourse.julialang.org/t/model-creation-inside-a-loop/88183)

<div class="topic-metadata">

**Author:** [@Mariana](https://discourse.julialang.org/u/Mariana)\
**Replies:** 6\
**Last updated:** [October 8, 2022, 4:38am UTC](https://discourse.julialang.org/t/model-creation-inside-a-loop/88183 "2022-10-08T04:38:03Z")

</div>

Hello! I’m using JuMP and Cbc solver to create an optimization model for each parameter p of a parameter set P, so basically, I have a code like this: for p in P model = create\_model(p) optimize! # Store resul…

---

## [Partial tracing on a SDP @variable](https://discourse.julialang.org/t/partial-tracing-on-a-sdp-variable/88123)

<div class="topic-metadata">

**Author:** [@danuzco](https://discourse.julialang.org/u/danuzco)\
**Replies:** 1\
**Last updated:** [October 8, 2022, 4:36am UTC](https://discourse.julialang.org/t/partial-tracing-on-a-sdp-variable/88123 "2022-10-08T04:36:32Z")

</div>

I want to be able of partial tracing the X variable defined below : using ProxSDP, JuMP model = Model(with\_optimizer(ProxSDP.Optimizer, log\_verbose=false)) @variable(model, X\[1:N,1:N\], PSD) where N\>=1. I tried using Qu…

---

## [Trouble plotting multiple spheres in GLMakie](https://discourse.julialang.org/t/trouble-plotting-multiple-spheres-in-glmakie/88387)

<div class="topic-metadata">

**Author:** [@Mervyn\_Larrier](https://discourse.julialang.org/u/Mervyn_Larrier)\
**Replies:** 2\
**Last updated:** [October 7, 2022, 11:27pm UTC](https://discourse.julialang.org/t/trouble-plotting-multiple-spheres-in-glmakie/88387 "2022-10-07T23:27:09Z")

</div>

I would like to plot a sphere inside another sphere. I’m using a wireframe to easily see the intersection in the spheres (if any exist), but I’m open to mesh solutions as well. The code compiles, but it won’t visualize; …

---

## [Comparison of different fft-implementations](https://discourse.julialang.org/t/comparison-of-different-fft-implementations/86021)

<div class="topic-metadata">

**Author:** [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Replies:** 11\
**Last updated:** [October 7, 2022, 10:00pm UTC](https://discourse.julialang.org/t/comparison-of-different-fft-implementations/86021 "2022-10-07T22:00:26Z")

</div>

Hi, I am struggling with fft-analysis of real-world data. Main objective are correct results. Currently I use two different fft-implementations: FFTW.fft() SciPy.fft.fft() The reason for this is that FFTW.fft() see…

---

## [Feedback on a 2d spring simulation](https://discourse.julialang.org/t/feedback-on-a-2d-spring-simulation/88350)

<div class="topic-metadata">

**Author:** [@maxkapur](https://discourse.julialang.org/u/maxkapur)\
**Replies:** 10\
**Last updated:** [October 7, 2022, 6:26pm UTC](https://discourse.julialang.org/t/feedback-on-a-2d-spring-simulation/88350 "2022-10-07T18:26:05Z")

</div>

This post does not present a specific question or problem. I have working code—a tiny simulation of a dynamic system involving some springs in 2d space—and I am hoping for general feedback regarding code idiomaticity, pe…

---

## [\[LinearSolve\] Inexact error in solving 4x4 linear system of equations](https://discourse.julialang.org/t/linearsolve-inexact-error-in-solving-4x4-linear-system-of-equations/88404)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 4\
**Last updated:** [October 7, 2022, 3:40pm UTC](https://discourse.julialang.org/t/linearsolve-inexact-error-in-solving-4x4-linear-system-of-equations/88404 "2022-10-07T15:40:06Z")

</div>

I have this issue in solving a simple set of equations: julia\> using LinearSolve julia\> let A = \[1.0 0.0 -1.0 0.0 0.0 -3152.28 0.0 3152.28 0.…

---

## [Default length unit with PGFPlotsX and Plots](https://discourse.julialang.org/t/default-length-unit-with-pgfplotsx-and-plots/88367)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 3\
**Last updated:** [October 7, 2022, 12:40pm UTC](https://discourse.julialang.org/t/default-length-unit-with-pgfplotsx-and-plots/88367 "2022-10-07T12:40:56Z")

</div>

I am using PGFPlotsX as a backend for Plots. I have specified the plot width as 800. After I saved the plot to pdf and inspected the properties, the width seems to be 194mm, which is around 550 pt. What are the default …

---

## [Repartition data back and forward from one administrative division to another](https://discourse.julialang.org/t/repartition-data-back-and-forward-from-one-administrative-division-to-another/88389)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [October 7, 2022, 11:55am UTC](https://discourse.julialang.org/t/repartition-data-back-and-forward-from-one-administrative-division-to-another/88389 "2022-10-07T11:55:17Z")

</div>

I have some data relative to a certain administrative division, let’s say forest volumes per region. I need to translate this data in a second definition of “regions”, and sometimes I need to do the opposite. I have th…

---

## [How to change the country name and then draw the global map?](https://discourse.julialang.org/t/how-to-change-the-country-name-and-then-draw-the-global-map/88076)

<div class="topic-metadata">

**Author:** [@akshdfyehd](https://discourse.julialang.org/u/akshdfyehd)\
**Replies:** 20\
**Last updated:** [October 7, 2022, 10:50am UTC](https://discourse.julialang.org/t/how-to-change-the-country-name-and-then-draw-the-global-map/88076 "2022-10-07T10:50:32Z")

</div>

Hi, I got the dataset like following: I want to make a world map and see which country have higher mean salary, maybe represent through density or sth else, like density higher means the mean salary is higher, I tried…

---

## [Animation images and dataframe content](https://discourse.julialang.org/t/animation-images-and-dataframe-content/88336)

<div class="topic-metadata">

**Author:** [@pascal](https://discourse.julialang.org/u/pascal)\
**Replies:** 3\
**Last updated:** [October 7, 2022, 8:03am UTC](https://discourse.julialang.org/t/animation-images-and-dataframe-content/88336 "2022-10-07T08:03:35Z")

</div>

I have multiple images stacked into an array: using CairoMakie using Images using DataFrames using DataFramesMeta # Load cow img\_orig = load(Makie.assetpath("cow.png")) img\_filt1 = imfilter(img\_orig, Kernel.gaussian(3)…

---

## [Dash.jl: download graph as svg, 'toImageButtonOptions' not working!](https://discourse.julialang.org/t/dash-jl-download-graph-as-svg-toimagebuttonoptions-not-working/88212)

<div class="topic-metadata">

**Author:** [@Bondan000](https://discourse.julialang.org/u/Bondan000)\
**Replies:** 1\
**Last updated:** [October 7, 2022, 6:31am UTC](https://discourse.julialang.org/t/dash-jl-download-graph-as-svg-toimagebuttonoptions-not-working/88212 "2022-10-07T06:31:41Z")

</div>

Hi, I created a small webapp which reads a csv and generate a plot using Plotly.jl and Dash.jl! I have a custom ‘myPlot’ function which generates the plot! I added the config settings in the ‘myPlot’ function: function …

---

## [Control width of legend box with Plots](https://discourse.julialang.org/t/control-width-of-legend-box-with-plots/88372)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 0\
**Last updated:** [October 6, 2022, 10:21pm UTC](https://discourse.julialang.org/t/control-width-of-legend-box-with-plots/88372 "2022-10-06T22:21:56Z")

</div>

Is there a way to control the scaling of the width of the legend box with Plots? In essence, I would like to make the lines longer, and it seems that controlling the width of the legend box itself is a way to do that, a…

---

## [Access lualatex log with PGFPlotsX](https://discourse.julialang.org/t/access-lualatex-log-with-pgfplotsx/88355)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 4\
**Last updated:** [October 6, 2022, 6:35pm UTC](https://discourse.julialang.org/t/access-lualatex-log-with-pgfplotsx/88355 "2022-10-06T18:35:17Z")

</div>

I am trying to use PGFPlotsX together with Plots, and I get the following error: The latex command \`lualatex jl\_ODVl4Y.tex\` failed How do I access the lualatex log itself to understand what is going on?

---

## [Problem with NLSolve: cant find x st f(x) =0](https://discourse.julialang.org/t/problem-with-nlsolve-cant-find-x-st-f-x-0/88345)

<div class="topic-metadata">

**Author:** [@Outeirom](https://discourse.julialang.org/u/Outeirom)\
**Replies:** 4\
**Last updated:** [October 6, 2022, 4:39pm UTC](https://discourse.julialang.org/t/problem-with-nlsolve-cant-find-x-st-f-x-0/88345 "2022-10-06T16:39:52Z")

</div>

So, I have a code in matlab and I am trying to translate it to Julia. Im not being able to run this NLSolve in Julia. It returns me a domain error… probably because there is x^eta, where eta = 0.5. But what makes no se…

---

## [Method Error when using LinearMixedModel function](https://discourse.julialang.org/t/method-error-when-using-linearmixedmodel-function/88243)

<div class="topic-metadata">

**Author:** [@imantha](https://discourse.julialang.org/u/imantha)\
**Replies:** 3\
**Last updated:** [October 6, 2022, 3:03pm UTC](https://discourse.julialang.org/t/method-error-when-using-linearmixedmodel-function/88243 "2022-10-06T15:03:57Z")

</div>

Hi I am having trouble using the Mixed Model package as following the example doesnt seem to work. I get the following Method Error ERROR: MethodError: no method matching LinearMixedModel(::Vector{Int64}, ::Matrix{Float…

---

## [Ferrite.jl periodic boundary conditions](https://discourse.julialang.org/t/ferrite-jl-periodic-boundary-conditions/39387)

<div class="topic-metadata">

**Author:** [@blaszm](https://discourse.julialang.org/u/blaszm)\
**Replies:** 2\
**Last updated:** [October 6, 2022, 11:42am UTC](https://discourse.julialang.org/t/ferrite-jl-periodic-boundary-conditions/39387 "2022-10-06T11:42:34Z")

</div>

Hi, I’m a PhD student working on the multiscale simulation of complex materials. Recently I discovered Julia and the JuAFEM package for my work. I’m trying to do FE² (finite element square). For this purpose, usually the…

---

## [Rotr90 of a CUDA.CuArray](https://discourse.julialang.org/t/rotr90-of-a-cuda-cuarray/88308)

<div class="topic-metadata">

**Author:** [@leifdenby](https://discourse.julialang.org/u/leifdenby)\
**Replies:** 5\
**Last updated:** [October 6, 2022, 10:16am UTC](https://discourse.julialang.org/t/rotr90-of-a-cuda-cuarray/88308 "2022-10-06T10:16:38Z")

</div>

I’m trying to implement a neural network which rotates the image within the layers of the network. My question is: is there a way to use something like Base.rotr90 on a CUDA.CuArray while disabling scalar indexing (CUDA.…

---

## [Anyone developing multinomial logistic regression?](https://discourse.julialang.org/t/anyone-developing-multinomial-logistic-regression/23222)

<div class="topic-metadata">

**Author:** [@tyleransom](https://discourse.julialang.org/u/tyleransom)\
**Replies:** 19\
**Last updated:** [October 6, 2022, 9:30am UTC](https://discourse.julialang.org/t/anyone-developing-multinomial-logistic-regression/23222 "2022-10-06T09:30:02Z")

</div>

Hi all, I’m looking to write a multinomial logistic regression function (including conditional logit). From what I can see, there is no extant package that can do this. Given the popularity of such a model, I’m surprise…

---

## [SDE simulation using DifferentialEquations.jl SDE solver RKMilGeneral](https://discourse.julialang.org/t/sde-simulation-using-differentialequations-jl-sde-solver-rkmilgeneral/88312)

<div class="topic-metadata">

**Author:** [@Max\_Beez](https://discourse.julialang.org/u/Max_Beez)\
**Replies:** 3\
**Last updated:** [October 6, 2022, 2:20am UTC](https://discourse.julialang.org/t/sde-simulation-using-differentialequations-jl-sde-solver-rkmilgeneral/88312 "2022-10-06T02:20:55Z")

</div>

I am simulating an SDE and using scatter! to plot the results. I set dt = 0.1 with timespan 0.0 to 1.0, then if use EM() as the SDE solver method I get 10 equally spaced (in-time) scatter points on the plot. Howeve…

---

## [How to get the updated coordinates of vertices in the interaction with mouse using Makie.jl](https://discourse.julialang.org/t/how-to-get-the-updated-coordinates-of-vertices-in-the-interaction-with-mouse-using-makie-jl/87900)

<div class="topic-metadata">

**Author:** [@Firstname\_Lastname](https://discourse.julialang.org/u/Firstname_Lastname)\
**Replies:** 2\
**Last updated:** [October 5, 2022, 3:01pm UTC](https://discourse.julialang.org/t/how-to-get-the-updated-coordinates-of-vertices-in-the-interaction-with-mouse-using-makie-jl/87900 "2022-10-05T15:01:49Z")

</div>

From the tutorial Interactive data visualizations with Makie.jl | Simon Danisch & Julius Krumbiegel | JuliaCon 2022 - YouTube I learned that the package Makie.jl is very nice and powerful. It can quickly update the plo…

---

## [Missing imputation: comparision of BetaML, Python SKL, R Mice](https://discourse.julialang.org/t/missing-imputation-comparision-of-betaml-python-skl-r-mice/72447)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [October 5, 2022, 2:58pm UTC](https://discourse.julialang.org/t/missing-imputation-comparision-of-betaml-python-skl-r-mice/72447 "2022-10-05T14:58:51Z")

</div>

Hello, I did a small benchmarking of Julia BetaML (predictMissing - that uses GMM - and custom random forest prediction), SciKitLearn SI, II and KK-based imputators and R Mice, using the default values for each. Below a…

---

## [NLSolve vs fsolve (matlab): What am I doing wrong?](https://discourse.julialang.org/t/nlsolve-vs-fsolve-matlab-what-am-i-doing-wrong/88095)

<div class="topic-metadata">

**Author:** [@Outeirom](https://discourse.julialang.org/u/Outeirom)\
**Replies:** 5\
**Last updated:** [October 5, 2022, 1:34pm UTC](https://discourse.julialang.org/t/nlsolve-vs-fsolve-matlab-what-am-i-doing-wrong/88095 "2022-10-05T13:34:26Z")

</div>

So, I have a code in matlab and I am trying to translate it to Julia. Can anyone help me an tell me what am I doing wrong? Basically it is a function and I need to use fsolve/ NLSolve. I put first fig below matlab codes…

---

## [Transparancy in colormap / removing contour level](https://discourse.julialang.org/t/transparancy-in-colormap-removing-contour-level/88283)

<div class="topic-metadata">

**Author:** [@Janssena](https://discourse.julialang.org/u/Janssena)\
**Replies:** 0\
**Last updated:** [October 5, 2022, 10:53am UTC](https://discourse.julialang.org/t/transparancy-in-colormap-removing-contour-level/88283 "2022-10-05T10:53:54Z")

</div>

Hey All, I am trying to create a contourf() plot where the lowest contour level is not being colored. I want to overlap multiple contour plots so I do not want the lowest level of contour 2 to overlap contour 1. I am u…

---

## [Recommended way to extract logprob and build gradients in Turing.jl?](https://discourse.julialang.org/t/recommended-way-to-extract-logprob-and-build-gradients-in-turing-jl/88279)

<div class="topic-metadata">

**Author:** [@svilupp](https://discourse.julialang.org/u/svilupp)\
**Replies:** 2\
**Last updated:** [October 5, 2022, 11:19am UTC](https://discourse.julialang.org/t/recommended-way-to-extract-logprob-and-build-gradients-in-turing-jl/88279 "2022-10-05T11:19:15Z")

</div>

Hi everyone, What is the recommended way to extract the log density and build gradients from a Turing model? (DynamicPPL) Use cases: eg, feeding it to something like Pathfinder.jl (if it didn’t Turing API) or novel sam…

---

## [Neural Nets training with multiple Chains Lux.jl and CUDA.jl](https://discourse.julialang.org/t/neural-nets-training-with-multiple-chains-lux-jl-and-cuda-jl/88167)

<div class="topic-metadata">

**Author:** [@LeoCott](https://discourse.julialang.org/u/LeoCott)\
**Replies:** 5\
**Last updated:** [October 5, 2022, 10:30am UTC](https://discourse.julialang.org/t/neural-nets-training-with-multiple-chains-lux-jl-and-cuda-jl/88167 "2022-10-05T10:30:51Z")

</div>

Hi all, I am a GPU beginner so I probably ask something obvious. I defined a neural net with four Lux.jl chains: input\_ = 2 n = 20 chain1 = Lux.Chain(Dense(input\_,n,Lux.σ),Dense(n,n,Lux.σ),Dense(n,n,Lux.σ),Dense(n,n,L…

---

## [PhysicsInformedNN: sampling strategy for pde\_loss evaluation on pre-defined could points](https://discourse.julialang.org/t/physicsinformednn-sampling-strategy-for-pde-loss-evaluation-on-pre-defined-could-points/88238)

<div class="topic-metadata">

**Author:** [@LeoCott](https://discourse.julialang.org/u/LeoCott)\
**Replies:** 1\
**Last updated:** [October 4, 2022, 10:01pm UTC](https://discourse.julialang.org/t/physicsinformednn-sampling-strategy-for-pde-loss-evaluation-on-pre-defined-could-points/88238 "2022-10-04T22:01:27Z")

</div>

Hello all, I am trying to solve an inverse problem with NeuralPDE as presented in the documentation here. I am wondering if it was possible to define a sampling strategy to evaluate the pde\_loss of the NeuralPDE.Physic…

---

## [Solving nonlinear equation with an embedded matrix equation](https://discourse.julialang.org/t/solving-nonlinear-equation-with-an-embedded-matrix-equation/88240)

<div class="topic-metadata">

**Author:** [@yhchang96](https://discourse.julialang.org/u/yhchang96)\
**Replies:** 1\
**Last updated:** [October 4, 2022, 9:54pm UTC](https://discourse.julialang.org/t/solving-nonlinear-equation-with-an-embedded-matrix-equation/88240 "2022-10-04T21:54:52Z")

</div>

I want to find the solution to a nonlinear equation of the form u\_{xx} + f(u,\\lambda) + p= 0 where the unknowns are u(x) and the constant p. There is an addition volume constraint \\int u(x)dx=1. For the leading order pro…

---

## [Q: Using Metatheory.jl for code optimization](https://discourse.julialang.org/t/q-using-metatheory-jl-for-code-optimization/88201)

<div class="topic-metadata">

**Author:** [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)\
**Replies:** 0\
**Last updated:** [October 4, 2022, 2:20am UTC](https://discourse.julialang.org/t/q-using-metatheory-jl-for-code-optimization/88201 "2022-10-04T02:20:28Z")

</div>

Hello, After going through the rather terse Metatheory.jl documentation, there are a number of concepts that are novel and unfamilair to me, so I’m unable to discern if the package can do the following: It is possible …

---

## [Questions about XAM.jl](https://discourse.julialang.org/t/questions-about-xam-jl/86665)

<div class="topic-metadata">

**Author:** [@zhangchunyong](https://discourse.julialang.org/u/zhangchunyong)\
**Replies:** 8\
**Last updated:** [October 4, 2022, 2:12am UTC](https://discourse.julialang.org/t/questions-about-xam-jl/86665 "2022-10-04T02:12:51Z")

</div>

When I used Julia’s package called XAM.jl,I was convinced that it was extraordinarily fast. But when I aligned the reads to the genome and then generated a bam file, how do I restore sequenced reads to undeleted and un…

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

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