# Specific Domains

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

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

**Page:** 317

---

## [Symbolic factorization analysis](https://discourse.julialang.org/t/symbolic-factorization-analysis/39400)

<div class="topic-metadata">

**Author:** [@Mirsad\_Cosovic](https://discourse.julialang.org/u/Mirsad_Cosovic)\
**Replies:** 6\
**Last updated:** [December 10, 2021, 4:28pm UTC](https://discourse.julialang.org/t/symbolic-factorization-analysis/39400 "2021-12-10T16:28:22Z")

</div>

Hi, I need a symbolic factorization of the matrix, similar to symbfact in MATLAB. I have a sparse matrix: A = sparse(\[ 2 0 0 0 0 1 0 2 1 1 1 1 0 1 2 2 1 1 0…

---

## [Julia Graphplot error "MethodError: no method matching get\_adjacency\_matrix(::SimpleDiGraph{Int64})"](https://discourse.julialang.org/t/julia-graphplot-error-methoderror-no-method-matching-get-adjacency-matrix-simpledigraph-int64/72890)

<div class="topic-metadata">

**Author:** [@ssjos](https://discourse.julialang.org/u/ssjos)\
**Replies:** 0\
**Last updated:** [December 10, 2021, 1:46pm UTC](https://discourse.julialang.org/t/julia-graphplot-error-methoderror-no-method-matching-get-adjacency-matrix-simpledigraph-int64/72890 "2021-12-10T13:46:22Z")

</div>

I am using the following code in Julia v1.6 to plot a graph: graphplot(network1, method=:chorddiagram, markersize=3, nodeshape=:rect, linecolor=:lightgrey) where network1 is a {56, 445} directed simple Int64 graph I a…

---

## [Issue with ForwardDiff custom AD rule](https://discourse.julialang.org/t/issue-with-forwarddiff-custom-ad-rule/72886)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 7\
**Last updated:** [December 10, 2021, 1:22pm UTC](https://discourse.julialang.org/t/issue-with-forwarddiff-custom-ad-rule/72886 "2021-12-10T13:22:40Z")

</div>

I have the following issue: import ForwardDiff, DiffRules, IrrationalConstants, SpecialFunctions ∂logerfcx(x) = 2 \* (x - inv(SpecialFunctions.erfcx(x)) / IrrationalConstants.sqrtπ) DiffRules.@define\_diffrule SpecialFunc…

---

## [Scalable ODE solver for Bayesian multi-type compartmental models](https://discourse.julialang.org/t/scalable-ode-solver-for-bayesian-multi-type-compartmental-models/72845)

<div class="topic-metadata">

**Author:** [@bernadette-eu](https://discourse.julialang.org/u/bernadette-eu)\
**Replies:** 2\
**Last updated:** [December 10, 2021, 11:43am UTC](https://discourse.julialang.org/t/scalable-ode-solver-for-bayesian-multi-type-compartmental-models/72845 "2021-12-10T11:43:29Z")

</div>

Hello everyone, First time posting here. I provide a lengthy intro to my research problem with hopefully enough details, aiming to discuss scalable solvers for Nonlinear systems of ODES. The question is at the end of th…

---

## [Fix incongruencies in ODE models](https://discourse.julialang.org/t/fix-incongruencies-in-ode-models/72880)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 2\
**Last updated:** [December 10, 2021, 9:00am UTC](https://discourse.julialang.org/t/fix-incongruencies-in-ode-models/72880 "2021-12-10T09:00:36Z")

</div>

Hello, I am trying to simulate a bacteria/phage infection. I managed, thanks to the forum support, to make a simulation that in principle can change a parameter in the ODEs – but here I am not doing such a change: usi…

---

## [Accesing Lagrange multipliers while using Ipopt from Nonconvex.jl](https://discourse.julialang.org/t/accesing-lagrange-multipliers-while-using-ipopt-from-nonconvex-jl/72841)

<div class="topic-metadata">

**Author:** [@A\_C](https://discourse.julialang.org/u/A_C)\
**Replies:** 2\
**Last updated:** [December 10, 2021, 4:35am UTC](https://discourse.julialang.org/t/accesing-lagrange-multipliers-while-using-ipopt-from-nonconvex-jl/72841 "2021-12-10T04:35:53Z")

</div>

I was trying Nonconvex.jl using Ipopt. Is there a way in which I can access Lagrange multipliers?

---

## [Can one set Configuration Options using PlotlyJS.jl?](https://discourse.julialang.org/t/can-one-set-configuration-options-using-plotlyjs-jl/40357)

<div class="topic-metadata">

**Author:** [@klaff](https://discourse.julialang.org/u/klaff)\
**Replies:** 8\
**Last updated:** [December 9, 2021, 8:28pm UTC](https://discourse.julialang.org/t/can-one-set-configuration-options-using-plotlyjs-jl/40357 "2021-12-09T20:28:21Z")

</div>

This plotly.com page describes configuration options, such as editable, displayModeBar, and displaylogo that I would like to try from Julia and PlotlyJS.jl. Is there a way to send those options? I’ve tried as keywords in…

---

## [\`Inf\` does not work in \`quadgk!()\`](https://discourse.julialang.org/t/inf-does-not-work-in-quadgk/72838)

<div class="topic-metadata">

**Author:** [@HJWang](https://discourse.julialang.org/u/HJWang)\
**Replies:** 2\
**Last updated:** [December 9, 2021, 6:09pm UTC](https://discourse.julialang.org/t/inf-does-not-work-in-quadgk/72838 "2021-12-09T18:09:50Z")

</div>

I tried to use quadgk!(), which is the in-place quadgk(), but encountered problems. Simply put, quadgk!() does not accpet Inf or -Inf in the domain boundary while it is not a problem with quadgk(). The following is a MWE…

---

## [JuMP variable container with repeated index](https://discourse.julialang.org/t/jump-variable-container-with-repeated-index/72782)

<div class="topic-metadata">

**Author:** [@Thomas](https://discourse.julialang.org/u/Thomas)\
**Replies:** 2\
**Last updated:** [December 9, 2021, 10:58am UTC](https://discourse.julialang.org/t/jump-variable-container-with-repeated-index/72782 "2021-12-09T10:58:44Z")

</div>

I wonder how JuMP experts would create an SDP variable over some index matrix constrained during creation. From the docs, it is recommended to constraint variable upon creation if possible. Can the following be improved …

---

## [Convert VariableRef to String](https://discourse.julialang.org/t/convert-variableref-to-string/72803)

<div class="topic-metadata">

**Author:** [@gopal2017](https://discourse.julialang.org/u/gopal2017)\
**Replies:** 2\
**Last updated:** [December 9, 2021, 9:40am UTC](https://discourse.julialang.org/t/convert-variableref-to-string/72803 "2021-12-09T09:40:07Z")

</div>

We can use string(variable) to convert integer variable to string. Can we convert VariableRef to string? VariableRef we are getting from math model. I tried with parse(AbstractString,VariableRef) or string(VariableRef)…

---

## [Gurobi not running the right version?](https://discourse.julialang.org/t/gurobi-not-running-the-right-version/72808)

<div class="topic-metadata">

**Author:** [@Marc\_Sevaux](https://discourse.julialang.org/u/Marc_Sevaux)\
**Replies:** 4\
**Last updated:** [December 9, 2021, 9:20am UTC](https://discourse.julialang.org/t/gurobi-not-running-the-right-version/72808 "2021-12-09T09:20:31Z")

</div>

Hi, I’ve installed the latest version of gurobi solver (9.5.0) and reinstalled the Gurobi package. When I try to solve a ILP model, it seems that the gurobi solver is still using a previous version (9.1.2). Did I miss…

---

## [How to change the value of a parameter with DifferentialEquations?](https://discourse.julialang.org/t/how-to-change-the-value-of-a-parameter-with-differentialequations/72752)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 7\
**Last updated:** [December 8, 2021, 1:53pm UTC](https://discourse.julialang.org/t/how-to-change-the-value-of-a-parameter-with-differentialequations/72752 "2021-12-08T13:53:21Z")

</div>

Hello, I have a series of differential equations, and I can change the value of the integrator with a back call like this: condition(u, t, integrator) = t==1000 # time of alteration affect!(integrator) = in…

---

## [How to fix GLMakie window while developing on VSCode?](https://discourse.julialang.org/t/how-to-fix-glmakie-window-while-developing-on-vscode/72772)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 0\
**Last updated:** [December 8, 2021, 1:52pm UTC](https://discourse.julialang.org/t/how-to-fix-glmakie-window-while-developing-on-vscode/72772 "2021-12-08T13:52:47Z")

</div>

There are few related questions on the forum but I couldn’t find the answer. Is there any option to fix the GLMakie window say to the right of the monitor and VSCode to the left so that whenever we run a new plot the win…

---

## [Read MPS file using MathOptInterface and extract each variable from MOI](https://discourse.julialang.org/t/read-mps-file-using-mathoptinterface-and-extract-each-variable-from-moi/72753)

<div class="topic-metadata">

**Author:** [@gopal2017](https://discourse.julialang.org/u/gopal2017)\
**Replies:** 2\
**Last updated:** [December 8, 2021, 1:28pm UTC](https://discourse.julialang.org/t/read-mps-file-using-mathoptinterface-and-extract-each-variable-from-moi/72753 "2021-12-08T13:28:42Z")

</div>

Please read the below code. It can read MPS file. How can I get each variable from m? Please share the code. using JuMP using GLPK using MathOptInterface const MOI = MathOptInterface mathoptformat\_model = MOI.FileFo…

---

## [Traces of transformed variables within Turing.jl models](https://discourse.julialang.org/t/traces-of-transformed-variables-within-turing-jl-models/53013)

<div class="topic-metadata">

**Author:** [@BradGroff](https://discourse.julialang.org/u/BradGroff)\
**Replies:** 7\
**Last updated:** [December 8, 2021, 7:33am UTC](https://discourse.julialang.org/t/traces-of-transformed-variables-within-turing-jl-models/53013 "2021-12-08T07:33:58Z")

</div>

Hi all, Is it possible to make Turing return the transformations of random variables in chains? For instance: @model function silly\_example(y) x ~ Beta(1,1) z = x \> 0.5 # This guy! y ~ Normal…

---

## [Specify AsTable output column names](https://discourse.julialang.org/t/specify-astable-output-column-names/72742)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 2\
**Last updated:** [December 8, 2021, 7:31am UTC](https://discourse.julialang.org/t/specify-astable-output-column-names/72742 "2021-12-08T07:31:53Z")

</div>

Can I specify the name of the output column? using DataFrames, Chain @chain DataFrame(a=\[1,2,3,1,2,3\], b=\[:x, :y, :z, :x, :y, :x\]) begin groupby(:a) combine(:b=\>unique=\>:b, :b =\> (b-\>mean.(map(b₀-\>b₀.==b, unique(b)))) =\>…

---

## [Citing error in bib file for Graph jl](https://discourse.julialang.org/t/citing-error-in-bib-file-for-graph-jl/72701)

<div class="topic-metadata">

**Author:** [@yusri-dh](https://discourse.julialang.org/u/yusri-dh)\
**Replies:** 2\
**Last updated:** [December 8, 2021, 1:55am UTC](https://discourse.julialang.org/t/citing-error-in-bib-file-for-graph-jl/72701 "2021-12-08T01:55:05Z")

</div>

I am trying to cite Graphs jl in paper using the citation bib inside the github page: @misc{Graphs2021, author = {James Fairbanks, Mathieu Besançon, Simon Schölly, Júlio Hoffiman, Nick Eubank, and Stefan Karpin…

---

## [Optimal model creation (and garbage collection)](https://discourse.julialang.org/t/optimal-model-creation-and-garbage-collection/72619)

<div class="topic-metadata">

**Author:** [@sstroemer](https://discourse.julialang.org/u/sstroemer)\
**Replies:** 20\
**Last updated:** [December 7, 2021, 11:25pm UTC](https://discourse.julialang.org/t/optimal-model-creation-and-garbage-collection/72619 "2021-12-07T23:25:46Z")

</div>

Hi! I’m rather new to JuMP (and Julia) and I’m trying to compare the speed of creating a model using JuMP to an existing Python project (trying to decide whether it would be beneficial to switch to JuMP, now that 1.0 is …

---

## [Unexpected behavior of QuadGK with extended precision floats](https://discourse.julialang.org/t/unexpected-behavior-of-quadgk-with-extended-precision-floats/72684)

<div class="topic-metadata">

**Author:** [@PeterSimon](https://discourse.julialang.org/u/PeterSimon)\
**Replies:** 4\
**Last updated:** [December 7, 2021, 9:42pm UTC](https://discourse.julialang.org/t/unexpected-behavior-of-quadgk-with-extended-precision-floats/72684 "2021-12-07T21:42:36Z")

</div>

This topic arose from a topic in the Fortran Discourse group. Calling the gauss function from the QuadGK package produces different results depending on how it was previously called. Here is an example: …

---

## [Who is using Dagger?](https://discourse.julialang.org/t/who-is-using-dagger/71970)

<div class="topic-metadata">

**Author:** [@jpsamaroo](https://discourse.julialang.org/u/jpsamaroo)\
**Replies:** 12\
**Last updated:** [December 7, 2021, 5:19pm UTC](https://discourse.julialang.org/t/who-is-using-dagger/71970 "2021-12-07T17:19:19Z")

</div>

Hey all! I’m interested in finding out who in the community is using Dagger, or has used Dagger in the past. If so, I would appreciate if you could provide answers to any of the following questions: What kind of proble…

---

## [Probabilistic bone classification - is probabilistic graphical model good idea?](https://discourse.julialang.org/t/probabilistic-bone-classification-is-probabilistic-graphical-model-good-idea/72703)

<div class="topic-metadata">

**Author:** [@Jakub\_Mitura](https://discourse.julialang.org/u/Jakub_Mitura)\
**Replies:** 0\
**Last updated:** [December 7, 2021, 9:49am UTC](https://discourse.julialang.org/t/probabilistic-bone-classification-is-probabilistic-graphical-model-good-idea/72703 "2021-12-07T09:49:57Z")

</div>

Hello I want to create a probabilistic graphical model for bones classification from PET/CT scan with uncertainity quantification, but I am not sure is it good idea and how to start . So the general plan how I imagine i…

---

## [CUDA Matrix inverse](https://discourse.julialang.org/t/cuda-matrix-inverse/53341)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 13\
**Last updated:** [December 7, 2021, 6:47am UTC](https://discourse.julialang.org/t/cuda-matrix-inverse/53341 "2021-12-07T06:47:23Z")

</div>

Hello! I try to inverse large matrix on GPU and try to use this code: using CUDA, LinearAlgebra function cuinv(m::Matrix{T}) where T if size(m, 1) != size(m, 2) throw(ArgumentError("Matrix not square.")) end A …

---

## [Loading CSV file to TimeSeries data](https://discourse.julialang.org/t/loading-csv-file-to-timeseries-data/72662)

<div class="topic-metadata">

**Author:** [@v-i-s-h](https://discourse.julialang.org/u/v-i-s-h)\
**Replies:** 3\
**Last updated:** [December 7, 2021, 4:39am UTC](https://discourse.julialang.org/t/loading-csv-file-to-timeseries-data/72662 "2021-12-07T04:39:46Z")

</div>

Hi, I am trying to load some OHLC data into TimeArray (from TimeSeries.jl). The documentation (Tables.jl Interface Integration · TimeSeries.jl) says I can load it directly as using CSV TimeArray(CSV.File(filename), tim…

---

## [How does ModelingToolkit substitute the u0map?](https://discourse.julialang.org/t/how-does-modelingtoolkit-substitute-the-u0map/72688)

<div class="topic-metadata">

**Author:** [@cjwyett](https://discourse.julialang.org/u/cjwyett)\
**Replies:** 2\
**Last updated:** [December 7, 2021, 3:48am UTC](https://discourse.julialang.org/t/how-does-modelingtoolkit-substitute-the-u0map/72688 "2021-12-07T03:48:10Z")

</div>

Hi there, I’m trying to port some code over to use Catalyst. using Catalyst, Symbolics rs = @reaction\_network begin 1, 2A --\> B 2, B + C --\> 0 end v = Catalyst.oderatelaw.(reactions(rs)) u0 = \[1,1,1\] Now if i…

---

## [ExtraVariableSystemException while working with DiffEqOperators.jl](https://discourse.julialang.org/t/extravariablesystemexception-while-working-with-diffeqoperators-jl/72535)

<div class="topic-metadata">

**Author:** [@youainti](https://discourse.julialang.org/u/youainti)\
**Replies:** 2\
**Last updated:** [December 6, 2021, 11:39pm UTC](https://discourse.julialang.org/t/extravariablesystemexception-while-working-with-diffeqoperators-jl/72535 "2021-12-06T23:39:03Z")

</div>

I’ve run into two issues while using DiffEqOperators.jl to solve the Feynman-Kac Formula through the method of lines. Here is the setup to the problem: #setup symbols @parameters τ y @variables f(..) Dτ = Differential(…

---

## [Compositional Sampling in Turing - getting exactly same samples (standard deviation is zero)](https://discourse.julialang.org/t/compositional-sampling-in-turing-getting-exactly-same-samples-standard-deviation-is-zero/72326)

<div class="topic-metadata">

**Author:** [@rkmalaiya](https://discourse.julialang.org/u/rkmalaiya)\
**Replies:** 13\
**Last updated:** [December 6, 2021, 8:09pm UTC](https://discourse.julialang.org/t/compositional-sampling-in-turing-getting-exactly-same-samples-standard-deviation-is-zero/72326 "2021-12-06T20:09:16Z")

</div>

Hello Everyone, I have just started to use Turing. I want to implement a DINA Model ( DINA Model and Parameter Estimation: A Didactic (jstor.org)) which contains both discrete and continuous random variables. Hence, I w…

---

## [Approximation matching asymptotes](https://discourse.julialang.org/t/approximation-matching-asymptotes/72648)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 3\
**Last updated:** [December 6, 2021, 7:36pm UTC](https://discourse.julialang.org/t/approximation-matching-asymptotes/72648 "2021-12-06T19:36:46Z")

</div>

I have a function f: \\mathbb{R} \\to \\mathbb{R} that is expensive to calculate (implicitly defined, needs iterative methods). But otherwise f is well-behaved: continuous, differentiable, and strictly increasing on all the…

---

## [Julia 1.7 & CUDA on Windows 11](https://discourse.julialang.org/t/julia-1-7-cuda-on-windows-11/72488)

<div class="topic-metadata">

**Author:** [@00shiv](https://discourse.julialang.org/u/00shiv)\
**Replies:** 6\
**Last updated:** [December 6, 2021, 6:56pm UTC](https://discourse.julialang.org/t/julia-1-7-cuda-on-windows-11/72488 "2021-12-06T18:56:57Z")

</div>

I am not able to get CUDA installed on Julia 1.7 on Windows 11 (not even with WSL). The errors seem to be the same in both cases as it is not able to install LLVM properly. The error seems to be “could not load symbol “L…

---

## [What are some recommended ways to create networks of ensembles of neurons?](https://discourse.julialang.org/t/what-are-some-recommended-ways-to-create-networks-of-ensembles-of-neurons/72673)

<div class="topic-metadata">

**Author:** [@yohan](https://discourse.julialang.org/u/yohan)\
**Replies:** 0\
**Last updated:** [December 6, 2021, 6:35pm UTC](https://discourse.julialang.org/t/what-are-some-recommended-ways-to-create-networks-of-ensembles-of-neurons/72673 "2021-12-06T18:35:18Z")

</div>

Hi! I’m very new to Julia and considering migrating my Izhikevich neuronal network simulations to Julia from MATLAB. I was wondering about ways of implementing interactions among ensembles of units. I’d like to have pop…

---

## [Show waveform as part of larger program](https://discourse.julialang.org/t/show-waveform-as-part-of-larger-program/72668)

<div class="topic-metadata">

**Author:** [@Nenndul](https://discourse.julialang.org/u/Nenndul)\
**Replies:** 2\
**Last updated:** [December 6, 2021, 5:47pm UTC](https://discourse.julialang.org/t/show-waveform-as-part-of-larger-program/72668 "2021-12-06T17:47:54Z")

</div>

I am using PortAudio to input and process an audio stream Just a very basic thing: stream = PortAudioStream("Microphone (5- UMC204HD 192k)", 1, 0) buf = read(stream, 5s) But when I use this inside of the larger progr…

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

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