# Specific Domains

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

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

**Page:** 265

---

## [Boundary Value Problem Incompatible With Ensemble Simulations](https://discourse.julialang.org/t/boundary-value-problem-incompatible-with-ensemble-simulations/84233)

<div class="topic-metadata">

**Author:** [@liamfdoherty](https://discourse.julialang.org/u/liamfdoherty)\
**Replies:** 1\
**Last updated:** [July 20, 2022, 5:37pm UTC](https://discourse.julialang.org/t/boundary-value-problem-incompatible-with-ensemble-simulations/84233 "2022-07-20T17:37:05Z")

</div>

Hi all, I have a boundary value differential equation that I would like to solve, and it has a random coefficient. I would like to be able to use the Ensemble Simulation functionality documented here, as I have with ini…

---

## [ModelingToolkit : Incorparating 2nd Order ODE's into functions](https://discourse.julialang.org/t/modelingtoolkit-incorparating-2nd-order-odes-into-functions/84421)

<div class="topic-metadata">

**Author:** [@xztt](https://discourse.julialang.org/u/xztt)\
**Replies:** 8\
**Last updated:** [July 20, 2022, 5:30pm UTC](https://discourse.julialang.org/t/modelingtoolkit-incorparating-2nd-order-odes-into-functions/84421 "2022-07-20T17:30:47Z")

</div>

Hi all, I am looking to incorporate the following valve functions in MTK from a paper the images below give the mathematical description of the valves. The paper can be found here The way I am trying to implement…

---

## [Conjugate inference](https://discourse.julialang.org/t/conjugate-inference/84536)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 4\
**Last updated:** [July 20, 2022, 5:14pm UTC](https://discourse.julialang.org/t/conjugate-inference/84536 "2022-07-20T17:14:22Z")

</div>

Is there a package that analytically and automatically computers posteriors based on conjugate priors? I found GitHub - JuliaStats/ConjugatePriors.jl: A Julia package to support conjugate prior distributions. and the na…

---

## [How to add metadata such as labels to nodes in Graphs.jl?](https://discourse.julialang.org/t/how-to-add-metadata-such-as-labels-to-nodes-in-graphs-jl/84513)

<div class="topic-metadata">

**Author:** [@tiZ](https://discourse.julialang.org/u/tiZ)\
**Replies:** 4\
**Last updated:** [July 20, 2022, 12:21pm UTC](https://discourse.julialang.org/t/how-to-add-metadata-such-as-labels-to-nodes-in-graphs-jl/84513 "2022-07-20T12:21:42Z")

</div>

Hi, I wonder if there some convenient way to add the labels to nodes in a graph, I’m using Graphs.jl currently. I have try to record the (node Number =\> label) in a separated dictionary, but I think the order of node…

---

## [CUDA.jl mystery : VSCode + Julia extension works fine but commandline run fails](https://discourse.julialang.org/t/cuda-jl-mystery-vscode-julia-extension-works-fine-but-commandline-run-fails/84524)

<div class="topic-metadata">

**Author:** [@Lian\_Yunlong](https://discourse.julialang.org/u/Lian_Yunlong)\
**Replies:** 4\
**Last updated:** [July 20, 2022, 12:10pm UTC](https://discourse.julialang.org/t/cuda-jl-mystery-vscode-julia-extension-works-fine-but-commandline-run-fails/84524 "2022-07-20T12:10:33Z")

</div>

Hi, I have encountered some mysterious issues with CUDA.jl. When I run the code from within the file (in VSCode + Julia extension), everything seems fine and I got the expected answer. But if I run the same code in comm…

---

## [Inplace array modification performances](https://discourse.julialang.org/t/inplace-array-modification-performances/84044)

<div class="topic-metadata">

**Author:** [@dgasteau](https://discourse.julialang.org/u/dgasteau)\
**Replies:** 4\
**Last updated:** [July 20, 2022, 7:09am UTC](https://discourse.julialang.org/t/inplace-array-modification-performances/84044 "2022-07-20T07:09:48Z")

</div>

Hi, I am trying to improve the memory management of some complex iterative procedure. Basically the procedure could be synthesized to for ii = 1:Nt do some partial arrays value update Compute some stuff (include fft…

---

## [Constraint seems linear but the compiler determined it was quadratic. Not sure why or how to fix](https://discourse.julialang.org/t/constraint-seems-linear-but-the-compiler-determined-it-was-quadratic-not-sure-why-or-how-to-fix/84426)

<div class="topic-metadata">

**Author:** [@johnabs](https://discourse.julialang.org/u/johnabs)\
**Replies:** 10\
**Last updated:** [July 20, 2022, 1:52am UTC](https://discourse.julialang.org/t/constraint-seems-linear-but-the-compiler-determined-it-was-quadratic-not-sure-why-or-how-to-fix/84426 "2022-07-20T01:52:39Z")

</div>

Hi all, I’m doing some optimization on weighted graphs, and one of my constraints is showing up as quadratic for some reason, and JuMP says it’s can’t convert it to Affine, even though the docs say this is possible. (“B…

---

## [Passing jacobian generated from ModelingToolkit to ODEFunction for EnsembleGPUArray](https://discourse.julialang.org/t/passing-jacobian-generated-from-modelingtoolkit-to-odefunction-for-ensemblegpuarray/84198)

<div class="topic-metadata">

**Author:** [@RicardoFR](https://discourse.julialang.org/u/RicardoFR)\
**Replies:** 7\
**Last updated:** [July 19, 2022, 10:52pm UTC](https://discourse.julialang.org/t/passing-jacobian-generated-from-modelingtoolkit-to-odefunction-for-ensemblegpuarray/84198 "2022-07-19T22:52:43Z")

</div>

Hello all! I want to do some tests with GPU Parallel Ensemble Simulation using DifferentialEquations.jl. As a starting point, I was looking into the example in the DiffEqGPU.jl page. Regarding Stiff ODEs, it’s said that…

---

## [Drawing an ellipsoid to visualize a tensor](https://discourse.julialang.org/t/drawing-an-ellipsoid-to-visualize-a-tensor/31286)

<div class="topic-metadata">

**Author:** [@KirillGerke](https://discourse.julialang.org/u/KirillGerke)\
**Replies:** 10\
**Last updated:** [July 19, 2022, 10:33pm UTC](https://discourse.julialang.org/t/drawing-an-ellipsoid-to-visualize-a-tensor/31286 "2022-07-19T22:33:54Z")

</div>

Dear All, I am struggling with some problem in writing my code in Julia and, thus, ask for your assistance… What i want to do: visualize a tensor (3x3 matrix) as ellipsoid Problem: 1) not sure about which graphical fr…

---

## [Generating group id column in DataFrames?](https://discourse.julialang.org/t/generating-group-id-column-in-dataframes/83768)

<div class="topic-metadata">

**Author:** [@Raymond](https://discourse.julialang.org/u/Raymond)\
**Replies:** 17\
**Last updated:** [July 19, 2022, 9:42pm UTC](https://discourse.julialang.org/t/generating-group-id-column-in-dataframes/83768 "2022-07-19T21:42:57Z")

</div>

Here is an example data. julia\> b = DataFrame(city = \["BJ", "BJ", "BJ", "HF", "HF", "TS", "TS"\], year = \[1990, 1991, 1992, 1990, 1991, 1990, 1991\], cpi = \[1, 2, 3, 4, 5, 2, 1\]) 7×3 DataFrame Row │ city year cpi …

---

## [Why does Julia 1.6.5 and 1.7.1 generate differnent random values using the same seed?](https://discourse.julialang.org/t/why-does-julia-1-6-5-and-1-7-1-generate-differnent-random-values-using-the-same-seed/84482)

<div class="topic-metadata">

**Author:** [@etorkia](https://discourse.julialang.org/u/etorkia)\
**Replies:** 4\
**Last updated:** [July 19, 2022, 9:02pm UTC](https://discourse.julialang.org/t/why-does-julia-1-6-5-and-1-7-1-generate-differnent-random-values-using-the-same-seed/84482 "2022-07-19T21:02:11Z")

</div>

I found that if you start a fresh session in both 1.6.5. and 1.7.1 you get different results. I found this glitch while running doctests… and I will never be able to run Documenter.jl with this kind of craziness. using …

---

## [Convert Non-linear objective function from Maximization to Minimization](https://discourse.julialang.org/t/convert-non-linear-objective-function-from-maximization-to-minimization/84478)

<div class="topic-metadata">

**Author:** [@sophiepavia](https://discourse.julialang.org/u/sophiepavia)\
**Replies:** 3\
**Last updated:** [July 19, 2022, 8:31pm UTC](https://discourse.julialang.org/t/convert-non-linear-objective-function-from-maximization-to-minimization/84478 "2022-07-19T20:31:26Z")

</div>

Hello! I have the following non linear objective function. How can I convert this maximization objective function to a minimization problem? I have read conflicting material online, some say to multiple the problem by …

---

## [Is it possible to make scrollable window in GLMakie](https://discourse.julialang.org/t/is-it-possible-to-make-scrollable-window-in-glmakie/84450)

<div class="topic-metadata">

**Author:** [@Thomberger](https://discourse.julialang.org/u/Thomberger)\
**Replies:** 1\
**Last updated:** [July 19, 2022, 2:25pm UTC](https://discourse.julialang.org/t/is-it-possible-to-make-scrollable-window-in-glmakie/84450 "2022-07-19T14:25:52Z")

</div>

Is it possible to create a window longer than the screen height and make it scrollable, either using sliders, keyboard down arrow, or any other solution ?

---

## [ERROR: MethodError: no method matching expand\_extrema!(::Plots.Axis, ::Vector{Matrix{Float64}})](https://discourse.julialang.org/t/error-methoderror-no-method-matching-expand-extrema-plots-axis-vector-matrix-float64/84459)

<div class="topic-metadata">

**Author:** [@Hupdup](https://discourse.julialang.org/u/Hupdup)\
**Replies:** 2\
**Last updated:** [July 19, 2022, 1:59pm UTC](https://discourse.julialang.org/t/error-methoderror-no-method-matching-expand-extrema-plots-axis-vector-matrix-float64/84459 "2022-07-19T13:59:51Z")

</div>

Hi, I want to plot a confidence interval, but unfourtunaly I am not able to do it. I got the following error message: ERROR: MethodError: no method matching expand\_extrema!(::Plots.Axis, ::Vector{Matrix{Float64}}) The…

---

## [Inverse ICA for denoising](https://discourse.julialang.org/t/inverse-ica-for-denoising/84334)

<div class="topic-metadata">

**Author:** [@nbagg](https://discourse.julialang.org/u/nbagg)\
**Replies:** 2\
**Last updated:** [July 19, 2022, 1:47pm UTC](https://discourse.julialang.org/t/inverse-ica-for-denoising/84334 "2022-07-19T13:47:14Z")

</div>

Hi there, I am trying to use ICA to denoise an EEG signal. I am currently using the MultivariateStats.jl to perform the ICA: W = fit(ICA, data, num\_elec) This returns the mixing matrix as an ICA model. I want the inv…

---

## [Submitted arrays of different types in JuMP Heuristic Callbacks](https://discourse.julialang.org/t/submitted-arrays-of-different-types-in-jump-heuristic-callbacks/83950)

<div class="topic-metadata">

**Author:** [@K5Julien](https://discourse.julialang.org/u/K5Julien)\
**Replies:** 2\
**Last updated:** [July 19, 2022, 1:31pm UTC](https://discourse.julialang.org/t/submitted-arrays-of-different-types-in-jump-heuristic-callbacks/83950 "2022-07-19T13:31:33Z")

</div>

Hi! I am sorry, I can not produce a MWE but I think you can still answer my question. I need to use JuMP heuristic callbacks. However, the documentation only gives an exemple for a single variable. I need to submit a h…

---

## [Weighted graph using SparseCSC julia](https://discourse.julialang.org/t/weighted-graph-using-sparsecsc-julia/84071)

<div class="topic-metadata">

**Author:** [@ayodyas](https://discourse.julialang.org/u/ayodyas)\
**Replies:** 8\
**Last updated:** [July 19, 2022, 7:31am UTC](https://discourse.julialang.org/t/weighted-graph-using-sparsecsc-julia/84071 "2022-07-19T07:31:43Z")

</div>

I am new to julia and was trying to do weighted graph partition using metis in Julia. I coudnt undertstand how the SparseCSc for graph creation with edge and vertex weight as required for format of the metis (graph parti…

---

## [Machine Learning Property Loans for Fun and Profit with MLJ.jl](https://discourse.julialang.org/t/machine-learning-property-loans-for-fun-and-profit-with-mlj-jl/84414)

<div class="topic-metadata">

**Author:** [@dm13450](https://discourse.julialang.org/u/dm13450)\
**Replies:** 4\
**Last updated:** [July 19, 2022, 6:29am UTC](https://discourse.julialang.org/t/machine-learning-property-loans-for-fun-and-profit-with-mlj-jl/84414 "2022-07-19T06:29:01Z")

</div>

I’ve written a post about using Julia and MLJ on a dataset of property loans. It was my first time really getting to grips with the MLJ framework and I really liked the one-stop interface for the different models. Th…

---

## [How to highlight the area between four lines in julia Plots.jl](https://discourse.julialang.org/t/how-to-highlight-the-area-between-four-lines-in-julia-plots-jl/84433)

<div class="topic-metadata">

**Author:** [@Alex\_ricci](https://discourse.julialang.org/u/Alex_ricci)\
**Replies:** 2\
**Last updated:** [July 19, 2022, 5:41am UTC](https://discourse.julialang.org/t/how-to-highlight-the-area-between-four-lines-in-julia-plots-jl/84433 "2022-07-19T05:41:16Z")

</div>

I want to visualize a simple optimization problem. The problem is: min 3x + 2y s.t. -3x + 3y \<= 5 2x + 3y \>= 9 x, y \>= 0 How it is possible to highlight the feasible region in this problem. In other words, I want …

---

## [Is there Julia library for AI Image Denoising?](https://discourse.julialang.org/t/is-there-julia-library-for-ai-image-denoising/75688)

<div class="topic-metadata">

**Author:** [@j\_u](https://discourse.julialang.org/u/j_u)\
**Replies:** 12\
**Last updated:** [July 18, 2022, 10:59pm UTC](https://discourse.julialang.org/t/is-there-julia-library-for-ai-image-denoising/75688 "2022-07-18T22:59:44Z")

</div>

Actually, my question is like in the title. I am wondering if there is Julia library that makes Artificial Intelligence Image Denoising possible.

---

## [Julia JuMP | Continue even when an infeasible solution is found](https://discourse.julialang.org/t/julia-jump-continue-even-when-an-infeasible-solution-is-found/84424)

<div class="topic-metadata">

**Author:** [@hexjulia](https://discourse.julialang.org/u/hexjulia)\
**Replies:** 2\
**Last updated:** [July 18, 2022, 10:32pm UTC](https://discourse.julialang.org/t/julia-jump-continue-even-when-an-infeasible-solution-is-found/84424 "2022-07-18T22:32:31Z")

</div>

Hello! I’m wondering if there’s any way for JuMP (specifically Clp) to continue even when an infeasible solution is found during an SDDP system optimization. Frequently running into problems where a primal solution is …

---

## [Issues reading big CSV file despite using CSV.Row](https://discourse.julialang.org/t/issues-reading-big-csv-file-despite-using-csv-row/84395)

<div class="topic-metadata">

**Author:** [@candidaorelmex](https://discourse.julialang.org/u/candidaorelmex)\
**Replies:** 14\
**Last updated:** [July 18, 2022, 1:48pm UTC](https://discourse.julialang.org/t/issues-reading-big-csv-file-despite-using-csv-row/84395 "2022-07-18T13:48:11Z")

</div>

I’d like to import a .tsv file which CSV.read(file, DataFrame) doesn’t like. The error I get is ArgumentError: length argument to Parsers.PosLen (204996615) is too large; max length allowed is 1048575 I found an alt…

---

## [Kmeans clustering using Clustering package](https://discourse.julialang.org/t/kmeans-clustering-using-clustering-package/84391)

<div class="topic-metadata">

**Author:** [@Shayan](https://discourse.julialang.org/u/Shayan)\
**Replies:** 2\
**Last updated:** [July 18, 2022, 12:06pm UTC](https://discourse.julialang.org/t/kmeans-clustering-using-clustering-package/84391 "2022-07-18T12:06:42Z")

</div>

The documentation of kmeans of the Clustering.jl states that: help?\> kmeans search: kmeans kmeans! kmeans\_opts KmeansResult kmeans(X, k, \[...\]) -\> KmeansResult K-means clustering of the d×n data matrix X (each co…

---

## [UDE giving Linear Approximation](https://discourse.julialang.org/t/ude-giving-linear-approximation/84327)

<div class="topic-metadata">

**Author:** [@ccccc](https://discourse.julialang.org/u/ccccc)\
**Replies:** 4\
**Last updated:** [July 18, 2022, 10:40am UTC](https://discourse.julialang.org/t/ude-giving-linear-approximation/84327 "2022-07-18T10:40:49Z")

</div>

I copied the example here: And put in my own function. Everything else is the same except for I didn’t add noise. U = Lux.Chain( Lux.Dense(5,3,rbf), Lux.Dense(3,3, rbf), Lux.Dense(3,3, rbf), Lux.Dense(3,5) ) # Get…

---

## [Slope at a point of RNN using Flux](https://discourse.julialang.org/t/slope-at-a-point-of-rnn-using-flux/84207)

<div class="topic-metadata">

**Author:** [@FrootLoops](https://discourse.julialang.org/u/FrootLoops)\
**Replies:** 1\
**Last updated:** [July 18, 2022, 8:47am UTC](https://discourse.julialang.org/t/slope-at-a-point-of-rnn-using-flux/84207 "2022-07-18T08:47:04Z")

</div>

I am using a recurrent neural network for data of the form (x\_t, y\_t)\_{t=1}^T. My RNN has therefore the form y\_t^{nn} = NN(x\_{t-1}, x\_t, y\_{t-1}), with 1 hidden layer, 20 neurons, a sigmoid activation function and a li…

---

## [How to implment \`logsumexp\` function in JuMP?](https://discourse.julialang.org/t/how-to-implment-logsumexp-function-in-jump/84376)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 7\
**Last updated:** [July 18, 2022, 6:23am UTC](https://discourse.julialang.org/t/how-to-implment-logsumexp-function-in-jump/84376 "2022-07-18T06:23:24Z")

</div>

Hi, as I described my situation here, I’m trying to use DiffOpt.jl for my custom neural network training. I realised that if I can use logsumexp function to express the objective function, I can make it. However, I ca…

---

## [MLJ and DiffEqFlux](https://discourse.julialang.org/t/mlj-and-diffeqflux/84259)

<div class="topic-metadata">

**Author:** [@bienpierre](https://discourse.julialang.org/u/bienpierre)\
**Replies:** 1\
**Last updated:** [July 18, 2022, 4:02am UTC](https://discourse.julialang.org/t/mlj-and-diffeqflux/84259 "2022-07-18T04:02:55Z")

</div>

Hello everyone, I would like to know if it is possible to use MLJFlux with DiffEqFlux, or does it exist a interface? Do I have to add method, such as: fit!(loss, penalty, chain::Something\_related\_to\_DiffEqFlux, optimi…

---

## [Syntax for specifying block diagonal constraints in Convex](https://discourse.julialang.org/t/syntax-for-specifying-block-diagonal-constraints-in-convex/84372)

<div class="topic-metadata">

**Author:** [@biona001](https://discourse.julialang.org/u/biona001)\
**Replies:** 5\
**Last updated:** [July 18, 2022, 4:01am UTC](https://discourse.julialang.org/t/syntax-for-specifying-block-diagonal-constraints-in-convex/84372 "2022-07-18T04:01:41Z")

</div>

Hi community, I am having issues inputting the following problem into Convex.jl where \\Sigma and S\_1,...,S\_m are positive definite matrices of appropriate dimensions. The syntax diag(x\_1S\_1,...,x\_mS\_m) in the constrai…

---

## [ReverseDiff - differentiating with respect to some parameters but not others](https://discourse.julialang.org/t/reversediff-differentiating-with-respect-to-some-parameters-but-not-others/84345)

<div class="topic-metadata">

**Author:** [@Nathaniel](https://discourse.julialang.org/u/Nathaniel)\
**Replies:** 6\
**Last updated:** [July 18, 2022, 3:42am UTC](https://discourse.julialang.org/t/reversediff-differentiating-with-respect-to-some-parameters-but-not-others/84345 "2022-07-18T03:42:50Z")

</div>

I’m planning on training some neural networks using ReverseDiff.jl (which I think makes sense because I’ll be training lots of small networks on the CPU), but I have a basic question about how ReverseDiff is intended to …

---

## [Repetition of sample blocks the building of Kriging surrogate model](https://discourse.julialang.org/t/repetition-of-sample-blocks-the-building-of-kriging-surrogate-model/84374)

<div class="topic-metadata">

**Author:** [@chenr86](https://discourse.julialang.org/u/chenr86)\
**Replies:** 1\
**Last updated:** [July 18, 2022, 2:40am UTC](https://discourse.julialang.org/t/repetition-of-sample-blocks-the-building-of-kriging-surrogate-model/84374 "2022-07-18T02:40:14Z")

</div>

Hello, I’m using my own data as input to build a kriging model. There are three columns for input variables, one column for output variable. For input, there are: day\_of\_year: transforming the date into the day of ye…

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

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