# Specific Domains

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

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

**Page:** 260

---

## [Each successive run of JuMP in VS Code gets slower](https://discourse.julialang.org/t/each-successive-run-of-jump-in-vs-code-gets-slower/85497)

<div class="topic-metadata">

**Author:** [@Anjinsan](https://discourse.julialang.org/u/Anjinsan)\
**Replies:** 2\
**Last updated:** [August 11, 2022, 1:16am UTC](https://discourse.julialang.org/t/each-successive-run-of-jump-in-vs-code-gets-slower/85497 "2022-08-11T01:16:57Z")

</div>

While using VS Code to run a Julia (JuMP) optimization model (using Gurobi for the optimization), I’ve noticed that each subsequent run I do of the program (even if I make no changes in it) takes longer. The run times f…

---

## [Why do some Flux models train in parallel but not others?](https://discourse.julialang.org/t/why-do-some-flux-models-train-in-parallel-but-not-others/85453)

<div class="topic-metadata">

**Author:** [@Lewis\_Hein](https://discourse.julialang.org/u/Lewis_Hein)\
**Replies:** 16\
**Last updated:** [August 10, 2022, 11:50pm UTC](https://discourse.julialang.org/t/why-do-some-flux-models-train-in-parallel-but-not-others/85453 "2022-08-10T23:50:55Z")

</div>

Why does training this model use as many CPUs as I ask it to: Chain( Conv((5, 5), imgsize\[end\]=\>6, relu), MaxPool((2, 2)), Conv((5, 5), 6=\>16, relu), MaxPool((2, 2)),…

---

## [\[ANN\] JuliaEpi: Collaborative Computational Epidemiology in Julia](https://discourse.julialang.org/t/ann-juliaepi-collaborative-computational-epidemiology-in-julia/85131)

<div class="topic-metadata">

**Author:** [@InPhyT](https://discourse.julialang.org/u/InPhyT)\
**Replies:** 4\
**Last updated:** [August 10, 2022, 9:38pm UTC](https://discourse.julialang.org/t/ann-juliaepi-collaborative-computational-epidemiology-in-julia/85131 "2022-08-10T21:38:27Z")

</div>

We’re building an open research community called JuliaEpi to develop an epidemiological modelling ecosystem written in Julia for the design, management, wrangling and quality assessment of multiple data types and sources…

---

## [Python porting to Julia resources](https://discourse.julialang.org/t/python-porting-to-julia-resources/31953)

<div class="topic-metadata">

**Author:** [@vphom](https://discourse.julialang.org/u/vphom)\
**Replies:** 28\
**Last updated:** [August 10, 2022, 8:41pm UTC](https://discourse.julialang.org/t/python-porting-to-julia-resources/31953 "2022-08-10T20:41:56Z")

</div>

I’m trying to port an Machine Learning app that was written in Python using Pytorch to Julia and I’m a newbie in Julia. Is there a resource,cheat sheet that show how the same thing work in Julia for examples Python …

---

## [Why is it \`Inf\` and not \`inf\` if \`typeof(Inf) == Float64\`](https://discourse.julialang.org/t/why-is-it-inf-and-not-inf-if-typeof-inf-float64/85583)

<div class="topic-metadata">

**Author:** [@davidavdav](https://discourse.julialang.org/u/davidavdav)\
**Replies:** 1\
**Last updated:** [August 10, 2022, 2:22pm UTC](https://discourse.julialang.org/t/why-is-it-inf-and-not-inf-if-typeof-inf-float64/85583 "2022-08-10T14:22:05Z")

</div>

I thought that the Julia style is to have Capitalized words for types and modules. —david

---

## [How can lazy constraints be written in a \*.lp file?](https://discourse.julialang.org/t/how-can-lazy-constraints-be-written-in-a-lp-file/85324)

<div class="topic-metadata">

**Author:** [@Somayeh\_Esmaeili](https://discourse.julialang.org/u/Somayeh_Esmaeili)\
**Replies:** 9\
**Last updated:** [August 10, 2022, 2:21pm UTC](https://discourse.julialang.org/t/how-can-lazy-constraints-be-written-in-a-lp-file/85324 "2022-08-10T14:21:17Z")

</div>

I need to convert the codes in \*.lp file. But the lazy constraints can not be converted. Would you please help me? Thanks very much using JuMP,CPLEX T=Model(solver=CplexSolver()); #Sets----------------------------------…

---

## [HTTP.jl: How to post a series of json strings over a live connection](https://discourse.julialang.org/t/http-jl-how-to-post-a-series-of-json-strings-over-a-live-connection/85572)

<div class="topic-metadata">

**Author:** [@mst](https://discourse.julialang.org/u/mst)\
**Replies:** 2\
**Last updated:** [August 10, 2022, 12:26pm UTC](https://discourse.julialang.org/t/http-jl-how-to-post-a-series-of-json-strings-over-a-live-connection/85572 "2022-08-10T12:26:04Z")

</div>

Hello, I have a vector v where each element is a valid json string: v = \[json1, json2, ..., jsonN\] using HTTP.jl, I open a connection to a url and post each json in v: for json ∈ v HTTP.post(url, headers, json) end…

---

## [Solving system of ode with Modeling Toolkit](https://discourse.julialang.org/t/solving-system-of-ode-with-modeling-toolkit/85524)

<div class="topic-metadata">

**Author:** [@qwerty](https://discourse.julialang.org/u/qwerty)\
**Replies:** 3\
**Last updated:** [August 10, 2022, 10:08am UTC](https://discourse.julialang.org/t/solving-system-of-ode-with-modeling-toolkit/85524 "2022-08-10T10:08:45Z")

</div>

I solved this ode system with DifferentialEquations and got the correct result. I am trying with ModelingToolkit but I don’t get the correct result. What am I doing wrong? p₀, q₀ = 0.0, 3.0 @variables t @parameters P(…

---

## [Access variables in vector using Symbols](https://discourse.julialang.org/t/access-variables-in-vector-using-symbols/85432)

<div class="topic-metadata">

**Author:** [@this\_josh](https://discourse.julialang.org/u/this_josh)\
**Replies:** 7\
**Last updated:** [August 10, 2022, 9:17am UTC](https://discourse.julialang.org/t/access-variables-in-vector-using-symbols/85432 "2022-08-10T09:17:44Z")

</div>

I have a model with variables defined as a is below, I need to be able to access the models variables in a model agnostic way. For this I use Symbols as model\[:b\] will get me b for any model which has a variable b. How …

---

## [What is the best way to separate out indices of a variable?](https://discourse.julialang.org/t/what-is-the-best-way-to-separate-out-indices-of-a-variable/85317)

<div class="topic-metadata">

**Author:** [@A\_Green\_Leave](https://discourse.julialang.org/u/A_Green_Leave)\
**Replies:** 3\
**Last updated:** [August 10, 2022, 7:07am UTC](https://discourse.julialang.org/t/what-is-the-best-way-to-separate-out-indices-of-a-variable/85317 "2022-08-10T07:07:22Z")

</div>

Hi guys, What do you recommend to do in this situation? I have a set M consisting of three separate sets of vectors of various size. In other words M = \[m\_1, m\_2, m\_3\] where m\_i are vectors of different sizes. For ins…

---

## [Figure caption in Pluto](https://discourse.julialang.org/t/figure-caption-in-pluto/85564)

<div class="topic-metadata">

**Author:** [@grero](https://discourse.julialang.org/u/grero)\
**Replies:** 0\
**Last updated:** [August 10, 2022, 4:42am UTC](https://discourse.julialang.org/t/figure-caption-in-pluto/85564 "2022-08-10T04:42:50Z")

</div>

This may be obvious to Pluto users, but I was struggling for a while with creating captioned figures in Pluto notebooks. I used to have a cell with a Makie figure as output, followed by a Markdown cell containing the cap…

---

## [Integrator AutoVern9(Rodas5) take a lot of time DifferentialEquations.jl](https://discourse.julialang.org/t/integrator-autovern9-rodas5-take-a-lot-of-time-differentialequations-jl/85470)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 8\
**Last updated:** [August 9, 2022, 2:34pm UTC](https://discourse.julialang.org/t/integrator-autovern9-rodas5-take-a-lot-of-time-differentialequations-jl/85470 "2022-08-09T14:34:50Z")

</div>

I have systems: function HR!(du, u, p, t) function sigma(x) return 1.0 / ( 1.0 + exp( -10.0 \* ( x - ( - 0.25 ) ) ) ) end a, b, c, d, s, xr, r, I, vs, k1, k2, el\_link = p x1, y1, …

---

## [Slow HTTP.jl requests when SSL is enabled](https://discourse.julialang.org/t/slow-http-jl-requests-when-ssl-is-enabled/36183)

<div class="topic-metadata">

**Author:** [@karelh](https://discourse.julialang.org/u/karelh)\
**Replies:** 9\
**Last updated:** [August 9, 2022, 2:00pm UTC](https://discourse.julialang.org/t/slow-http-jl-requests-when-ssl-is-enabled/36183 "2022-08-09T14:00:12Z")

</div>

I am using HTTP.jl library to download large files over an encrypted connection (via AWSS3 to connect to an S3-enabled datastore). I have found out that the performance is greatly degraded when encrypted connection is us…

---

## [Genetic algorithms support for optimization with julia](https://discourse.julialang.org/t/genetic-algorithms-support-for-optimization-with-julia/85512)

<div class="topic-metadata">

**Author:** [@chenr86](https://discourse.julialang.org/u/chenr86)\
**Replies:** 6\
**Last updated:** [August 9, 2022, 12:09pm UTC](https://discourse.julialang.org/t/genetic-algorithms-support-for-optimization-with-julia/85512 "2022-08-09T12:09:36Z")

</div>

Hello, I’m dealing with multi-objective optimization problem. I wonder if there is any support of genetic algorithm with Julia. Besides, compared with other solvers, does GA perform well solving MOO? For example, it cos…

---

## [Simple multi-parameter bayesian linear regression returning un-expected results!](https://discourse.julialang.org/t/simple-multi-parameter-bayesian-linear-regression-returning-un-expected-results/81285)

<div class="topic-metadata">

**Author:** [@charperflow](https://discourse.julialang.org/u/charperflow)\
**Replies:** 14\
**Last updated:** [August 9, 2022, 11:20am UTC](https://discourse.julialang.org/t/simple-multi-parameter-bayesian-linear-regression-returning-un-expected-results/81285 "2022-08-09T11:20:05Z")

</div>

The problem is from chapter 10 question 7 of “Regression and Other Stories”, and the general idea is to use data which includes a continuous parameter “beauty” and then several binary predictors. I have solved the probl…

---

## [Help setting up CUDA.jl and cuTENSORS](https://discourse.julialang.org/t/help-setting-up-cuda-jl-and-cutensors/85505)

<div class="topic-metadata">

**Author:** [@apateonas](https://discourse.julialang.org/u/apateonas)\
**Replies:** 1\
**Last updated:** [August 9, 2022, 8:21am UTC](https://discourse.julialang.org/t/help-setting-up-cuda-jl-and-cutensors/85505 "2022-08-09T08:21:03Z")

</div>

Hi all, I am having trouble using CUDA.jl and cuTENSOR and would appreciate your help. I’m looking to use the ITensors.jl library with GPU acceleration (via ITensorGPU), which uses CUDA and cuTENSORS. I am running this …

---

## [Changing domain for Fourier](https://discourse.julialang.org/t/changing-domain-for-fourier/85331)

<div class="topic-metadata">

**Author:** [@andreasvarga](https://discourse.julialang.org/u/andreasvarga)\
**Replies:** 5\
**Last updated:** [August 9, 2022, 5:52am UTC](https://discourse.julialang.org/t/changing-domain-for-fourier/85331 "2022-08-09T05:52:02Z")

</div>

I am using ApproxFun.jl as basis to define and manipulate periodic matrices within the PeridicSystems.jl, a collection of tools dedicated for handling periodic systems. I consider ApproxFun.jl a valuable tool for my purp…

---

## [Component based ModelingToolkit](https://discourse.julialang.org/t/component-based-modelingtoolkit/85499)

<div class="topic-metadata">

**Author:** [@JOAO\_PEREIRA](https://discourse.julialang.org/u/JOAO_PEREIRA)\
**Replies:** 1\
**Last updated:** [August 8, 2022, 9:45pm UTC](https://discourse.julialang.org/t/component-based-modelingtoolkit/85499 "2022-08-08T21:45:34Z")

</div>

Hi, I would like to solve the system below as a component based modeling. DifferentialEquations is a possibility to solve as steady states. ‘’’ using ModelingToolkit, NonlinearSolve function plant\_7\_1\_b() ModelingToo…

---

## [Pushing Julia/statistics development](https://discourse.julialang.org/t/pushing-julia-statistics-development/80111)

<div class="topic-metadata">

**Author:** [@Ajay\_Shah](https://discourse.julialang.org/u/Ajay_Shah)\
**Replies:** 14\
**Last updated:** [August 8, 2022, 6:52pm UTC](https://discourse.julialang.org/t/pushing-julia-statistics-development/80111 "2022-08-08T18:52:09Z")

</div>

Julia is great, but there are many limitations in putting it to work for doing statistics. With the help of Viral, Alan, and @bkamins, a bunch of us got going on a systematic attack on this problem. We have gone after th…

---

## [Error reading an XLSX file](https://discourse.julialang.org/t/error-reading-an-xlsx-file/85352)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 2\
**Last updated:** [August 8, 2022, 6:20pm UTC](https://discourse.julialang.org/t/error-reading-an-xlsx-file/85352 "2022-08-08T18:20:58Z")

</div>

Hello everybody I’m having trouble reading the fields from my XLSX file, when I try this error message appears: MethodError: no method matching iterate(::XLSX.DataTable) using DataFrames, XLSX r = string(@\_\_DIR\_\_,"\\\\t…

---

## [PowerModels/PowerModelsDistribution lack of documentation for storage models](https://discourse.julialang.org/t/powermodels-powermodelsdistribution-lack-of-documentation-for-storage-models/85358)

<div class="topic-metadata">

**Author:** [@apigott](https://discourse.julialang.org/u/apigott)\
**Replies:** 3\
**Last updated:** [August 8, 2022, 4:58pm UTC](https://discourse.julialang.org/t/powermodels-powermodelsdistribution-lack-of-documentation-for-storage-models/85358 "2022-08-08T16:58:32Z")

</div>

Hi! New to PM/PMD and currently trying to figure out the OPF with a storage model, unfortunately I’m getting pretty stumped by the results dictionary. I attempted adding storage with the following: case\_file = "../Powe…

---

## [How to deploy MVC server to Nginx](https://discourse.julialang.org/t/how-to-deploy-mvc-server-to-nginx/85363)

<div class="topic-metadata">

**Author:** [@Jack\_N](https://discourse.julialang.org/u/Jack_N)\
**Replies:** 1\
**Last updated:** [August 8, 2022, 4:53pm UTC](https://discourse.julialang.org/t/how-to-deploy-mvc-server-to-nginx/85363 "2022-08-08T16:53:42Z")

</div>

I tried following the tutorial at the link below to set up Nginx with my website, but I am confused about what folder to pick as the Nginx config root since my landing html page is in the /app/resources/resource/views, n…

---

## [GaussianMixtures.jl - Equivalent of sklearn GaussianMixture.predict](https://discourse.julialang.org/t/gaussianmixtures-jl-equivalent-of-sklearn-gaussianmixture-predict/85480)

<div class="topic-metadata">

**Author:** [@vikram-s-narayan](https://discourse.julialang.org/u/vikram-s-narayan)\
**Replies:** 0\
**Last updated:** [August 8, 2022, 2:30pm UTC](https://discourse.julialang.org/t/gaussianmixtures-jl-equivalent-of-sklearn-gaussianmixture-predict/85480 "2022-08-08T14:30:49Z")

</div>

I’m trying to recreate the equivalent of SKLearn’s documentation example with GaussianMixtures.jl. The SKLearn example is below: import numpy as np from sklearn.mixture import GaussianMixture X = np.array(\[\[1, 2\], \[1, …

---

## [Resources for Differentiable Programming](https://discourse.julialang.org/t/resources-for-differentiable-programming/85369)

<div class="topic-metadata">

**Author:** [@franfram](https://discourse.julialang.org/u/franfram)\
**Replies:** 3\
**Last updated:** [August 8, 2022, 1:19pm UTC](https://discourse.julialang.org/t/resources-for-differentiable-programming/85369 "2022-08-08T13:19:06Z")

</div>

Hello everyone, I’m looking for workshops or another type of resource for learning differentiable programming with Julia (other than julia’s documentation on differentiable programming packages like Zygote). Any resour…

---

## [Makie, JSServe and Observables: Can I wrap whole figures in Observables?](https://discourse.julialang.org/t/makie-jsserve-and-observables-can-i-wrap-whole-figures-in-observables/82670)

<div class="topic-metadata">

**Author:** [@marcpabst](https://discourse.julialang.org/u/marcpabst)\
**Replies:** 1\
**Last updated:** [August 8, 2022, 12:38am UTC](https://discourse.julialang.org/t/makie-jsserve-and-observables-can-i-wrap-whole-figures-in-observables/82670 "2022-08-08T00:38:18Z")

</div>

Hi there! Mostly a question for @sdanisch I guess, but maybe others know as well… I’m creating interactive plots that work offline using WGLMakie and JSServe. For this, I have a custom function that takes a function wit…

---

## [How to use elements of a N\*M elements Vector of Vector for a constraint](https://discourse.julialang.org/t/how-to-use-elements-of-a-n-m-elements-vector-of-vector-for-a-constraint/85295)

<div class="topic-metadata">

**Author:** [@Optimization](https://discourse.julialang.org/u/Optimization)\
**Replies:** 5\
**Last updated:** [August 7, 2022, 12:28pm UTC](https://discourse.julialang.org/t/how-to-use-elements-of-a-n-m-elements-vector-of-vector-for-a-constraint/85295 "2022-08-07T12:28:50Z")

</div>

Hi, We have two sets A = \[1,2,...,N\] and B = \[1,2,...,M\]. There are two other sets SA, SB associated with A and Bwhich are N-elements and M-elemets vector of vector. A = \[1:N\] B = \[1:M\] SA = \[ \[some stuff for 1\] , \[s…

---

## [How to precompile Makie?](https://discourse.julialang.org/t/how-to-precompile-makie/20345)

<div class="topic-metadata">

**Author:** [@cserteGT3](https://discourse.julialang.org/u/cserteGT3)\
**Replies:** 6\
**Last updated:** [August 7, 2022, 10:45am UTC](https://discourse.julialang.org/t/how-to-precompile-makie/20345 "2022-08-07T10:45:01Z")

</div>

I tried to precompile Makie, because it seemed easy: # add PackageCompiler Pkg.add("PackageCompiler") using PackageCompiler # This is not well tested, so please be careful # The safe option: PackageCompiler.compile\_pa…

---

## [Plot with ribbon in MonteCarloMeasurements.jl](https://discourse.julialang.org/t/plot-with-ribbon-in-montecarlomeasurements-jl/85360)

<div class="topic-metadata">

**Author:** [@Firstname\_Lastname](https://discourse.julialang.org/u/Firstname_Lastname)\
**Replies:** 4\
**Last updated:** [August 7, 2022, 9:24am UTC](https://discourse.julialang.org/t/plot-with-ribbon-in-montecarlomeasurements-jl/85360 "2022-08-07T09:24:18Z")

</div>

Given a function y = a \* x + b where a and b are of the type Particles. By using MonteCarloMeasurements.jl and Plots.jl, I can plot many sample function y(x) as follows using MonteCarloMeasurements using Plots p = Part…

---

## [Find Power Spectrum and Density](https://discourse.julialang.org/t/find-power-spectrum-and-density/85415)

<div class="topic-metadata">

**Author:** [@natgeo-wong](https://discourse.julialang.org/u/natgeo-wong)\
**Replies:** 4\
**Last updated:** [August 7, 2022, 5:58am UTC](https://discourse.julialang.org/t/find-power-spectrum-and-density/85415 "2022-08-07T05:58:54Z")

</div>

Hi! I have a set of time-series data. I’d just like to ask, are there packages available to decompose the signal into the power spectrum and the density/amplitude? And also, I would like to ask if there is a way to do…

---

## [Numerical integration of vector-valued functions using Julia packages](https://discourse.julialang.org/t/numerical-integration-of-vector-valued-functions-using-julia-packages/85413)

<div class="topic-metadata">

**Author:** [@danrib07](https://discourse.julialang.org/u/danrib07)\
**Replies:** 3\
**Last updated:** [August 6, 2022, 10:26pm UTC](https://discourse.julialang.org/t/numerical-integration-of-vector-valued-functions-using-julia-packages/85413 "2022-08-06T22:26:32Z")

</div>

Hi, I need to compute the following integral \\int\_{0}^{t} e^{At'}b \\,dt' where A is a real-valued matrix of size (m x m), and b is a real-valued column vector of size (m x 1). The current method I have implemented to c…

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

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