# Specific Domains

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

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

**Page:** 268

---

## [How to define this expression?](https://discourse.julialang.org/t/how-to-define-this-expression/83930)

<div class="topic-metadata">

**Author:** [@ivzktch99](https://discourse.julialang.org/u/ivzktch99)\
**Replies:** 1\
**Last updated:** [July 8, 2022, 3:46am UTC](https://discourse.julialang.org/t/how-to-define-this-expression/83930 "2022-07-08T03:46:04Z")

</div>

Hello there I want to solve the following model using JuMP, Ipopt model = Model(Ipopt.Optimizer) n = 5 @variable(model, X\[1:n, 1:n\]) @variable(model, y\[1:n\]) u = ones(n) z = @expression(model, X \* u) expr = (1/factor…

---

## [Can't run simple JuMP example](https://discourse.julialang.org/t/cant-run-simple-jump-example/67938)

<div class="topic-metadata">

**Author:** [@Dan.phi](https://discourse.julialang.org/u/Dan.phi)\
**Replies:** 12\
**Last updated:** [July 7, 2022, 9:27pm UTC](https://discourse.julialang.org/t/cant-run-simple-jump-example/67938 "2022-07-07T21:27:22Z")

</div>

I am learning the basics of JuMP and tried running the code below, which computes the MLE of the parameters of a Gaussian distribution (mean and variance, source): using JuMP, Ipopt, Random, Statistics Random.seed!(12…

---

## [Morris Vs Sobol Method Global Sensitivity analysis](https://discourse.julialang.org/t/morris-vs-sobol-method-global-sensitivity-analysis/83571)

<div class="topic-metadata">

**Author:** [@xztt](https://discourse.julialang.org/u/xztt)\
**Replies:** 25\
**Last updated:** [July 7, 2022, 7:46pm UTC](https://discourse.julialang.org/t/morris-vs-sobol-method-global-sensitivity-analysis/83571 "2022-07-07T19:46:23Z")

</div>

I am comparing a sensitivity analysis using both the Morris and Sobol method for the most part the methods agree. However 2 parameters appear to have low influence according to the Sobol method. But, when using the Morr…

---

## [Warnings on importing BifurcationKit with Julia 1.5.3](https://discourse.julialang.org/t/warnings-on-importing-bifurcationkit-with-julia-1-5-3/83755)

<div class="topic-metadata">

**Author:** [@BThomas](https://discourse.julialang.org/u/BThomas)\
**Replies:** 4\
**Last updated:** [July 7, 2022, 3:39pm UTC](https://discourse.julialang.org/t/warnings-on-importing-bifurcationkit-with-julia-1-5-3/83755 "2022-07-07T15:39:36Z")

</div>

I have the following packages installed for Julia 1.5.3 that ships with Debian/stable. (@v1.5) pkg\> status Status \`~/.julia/environments/v1.5/Project.toml\` \[aae01518\] BandedMatrices v0.16.13 \[0f109fa4\] BifurcationKi…

---

## [Questions on NeuralPDE.jl](https://discourse.julialang.org/t/questions-on-neuralpde-jl/83846)

<div class="topic-metadata">

**Author:** [@marcofrancis](https://discourse.julialang.org/u/marcofrancis)\
**Replies:** 5\
**Last updated:** [July 7, 2022, 3:31pm UTC](https://discourse.julialang.org/t/questions-on-neuralpde-jl/83846 "2022-07-07T15:31:17Z")

</div>

Hi, I’m quite new to Julia and I discovered this amazing package. I have a couple of questions regarding it: 1 - Should I use Lux or Flux? It seems that Lux is used in almost all examples, but when using the gpu one sho…

---

## [Canvas in Stipple.jl](https://discourse.julialang.org/t/canvas-in-stipple-jl/83887)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 0\
**Last updated:** [July 7, 2022, 9:38am UTC](https://discourse.julialang.org/t/canvas-in-stipple-jl/83887 "2022-07-07T09:38:39Z")

</div>

Is there a canvas in Stipple.jl where programatically generated reactive SVGs can be displayed like konvajs? Similar to GtkReactive.jl?

---

## [Flux/Lux - Combining two neural networks](https://discourse.julialang.org/t/flux-lux-combining-two-neural-networks/83868)

<div class="topic-metadata">

**Author:** [@raphaelchinchilla](https://discourse.julialang.org/u/raphaelchinchilla)\
**Replies:** 1\
**Last updated:** [July 7, 2022, 1:21am UTC](https://discourse.julialang.org/t/flux-lux-combining-two-neural-networks/83868 "2022-07-07T01:21:51Z")

</div>

I want to design a neural network whose output is the combination of the outputs of two neural networks; a very simple example would be the output of two Dense layers. Intuitively, I would want to write something like m…

---

## [High order approximation of a multi-country trade model](https://discourse.julialang.org/t/high-order-approximation-of-a-multi-country-trade-model/83225)

<div class="topic-metadata">

**Author:** [@daisukeadachi](https://discourse.julialang.org/u/daisukeadachi)\
**Replies:** 22\
**Last updated:** [July 6, 2022, 2:38pm UTC](https://discourse.julialang.org/t/high-order-approximation-of-a-multi-country-trade-model/83225 "2022-07-06T14:38:32Z")

</div>

Hi, I hope this finds you well. I recently moved over from Matlab in search of better computational performance. I am doing this post to get best practices on higher-order approximations for large problems such as the o…

---

## [Quiver plot arrowhead sizing](https://discourse.julialang.org/t/quiver-plot-arrowhead-sizing/81789)

<div class="topic-metadata">

**Author:** [@FMacLellan](https://discourse.julialang.org/u/FMacLellan)\
**Replies:** 4\
**Last updated:** [July 6, 2022, 1:39pm UTC](https://discourse.julialang.org/t/quiver-plot-arrowhead-sizing/81789 "2022-07-06T13:39:57Z")

</div>

Hi, I am working on an image analysis tool for particle image velocimetry and one of the outputs will be a vector field. I can produce the vector field easily enough, but the components of each vector are very small due…

---

## [Flux: Obtaining individual layer output for DenseNet from Metalhead.jl](https://discourse.julialang.org/t/flux-obtaining-individual-layer-output-for-densenet-from-metalhead-jl/83830)

<div class="topic-metadata">

**Author:** [@marcpabst](https://discourse.julialang.org/u/marcpabst)\
**Replies:** 2\
**Last updated:** [July 6, 2022, 11:43am UTC](https://discourse.julialang.org/t/flux-obtaining-individual-layer-output-for-densenet-from-metalhead-jl/83830 "2022-07-06T11:43:05Z")

</div>

Hi, I’m training the DenseNet from Metalhead.jl on the CIFAR-10 dataset which generally seems to work quite well. However, I can’t seem to find out how to access the output from individual layers in the Chain. I know a…

---

## [Callbacks on EnsembleProblem rather then on ODEProblem within Ensemble](https://discourse.julialang.org/t/callbacks-on-ensembleproblem-rather-then-on-odeproblem-within-ensemble/79359)

<div class="topic-metadata">

**Author:** [@mochell](https://discourse.julialang.org/u/mochell)\
**Replies:** 3\
**Last updated:** [July 6, 2022, 11:16am UTC](https://discourse.julialang.org/t/callbacks-on-ensembleproblem-rather-then-on-odeproblem-within-ensemble/79359 "2022-07-06T11:16:04Z")

</div>

Hi, I have an EnsembleProblem, or at least I want to model a system of equations with that. I want the ensemble member’s parameters to modify based on the solutions of some ensemble members every N timesteps. It is lik…

---

## [Defing ODEsystem in function and initial conditions outside the function in ModelingToolkit.jl](https://discourse.julialang.org/t/defing-odesystem-in-function-and-initial-conditions-outside-the-function-in-modelingtoolkit-jl/79195)

<div class="topic-metadata">

**Author:** [@mochell](https://discourse.julialang.org/u/mochell)\
**Replies:** 5\
**Last updated:** [July 6, 2022, 8:23am UTC](https://discourse.julialang.org/t/defing-odesystem-in-function-and-initial-conditions-outside-the-function-in-modelingtoolkit-jl/79195 "2022-07-06T08:23:44Z")

</div>

Hi, I try to initialize an ODE system in a function and then assign initial conditions and parameters through any kind of named structure (dict, vector(tuples), or whatever). However, the only way to set parameters outs…

---

## [Converting Dense Axis array results into dataframe](https://discourse.julialang.org/t/converting-dense-axis-array-results-into-dataframe/83780)

<div class="topic-metadata">

**Author:** [@mbah](https://discourse.julialang.org/u/mbah)\
**Replies:** 6\
**Last updated:** [July 6, 2022, 8:23am UTC](https://discourse.julialang.org/t/converting-dense-axis-array-results-into-dataframe/83780 "2022-07-06T08:23:17Z")

</div>

Hello, I have the following two-dimensional dense axis array results extracted from a constraint. Rows represent time stamps \[T\] and columns represent nodes \[N\]. Is there a way of converting the DenseAxisArray into …

---

## [MultiJuMP.jl: more than 3 hours' calculation for nonlinear example](https://discourse.julialang.org/t/multijump-jl-more-than-3-hours-calculation-for-nonlinear-example/83764)

<div class="topic-metadata">

**Author:** [@chenr86](https://discourse.julialang.org/u/chenr86)\
**Replies:** 4\
**Last updated:** [July 6, 2022, 8:15am UTC](https://discourse.julialang.org/t/multijump-jl-more-than-3-hours-calculation-for-nonlinear-example/83764 "2022-07-06T08:15:14Z")

</div>

Hello, I am learning MultiJuMP.jl to solve a MINLP multi-objective problem. Now I am testing the nonlinear example given by the developer of the package, and I find it costs more than 3 hours to solve the problem. For n…

---

## [Makie - What are the available line styles?](https://discourse.julialang.org/t/makie-what-are-the-available-line-styles/63553)

<div class="topic-metadata">

**Author:** [@Kolaru](https://discourse.julialang.org/u/Kolaru)\
**Replies:** 4\
**Last updated:** [July 6, 2022, 5:26am UTC](https://discourse.julialang.org/t/makie-what-are-the-available-line-styles/63553 "2022-07-06T05:26:32Z")

</div>

Looking at the documentation I can not found what are the available line styles for plotting lines. I only found :dashed in one example. Having a list somewhere or, if it already exists and I missed it, a link to it in …

---

## [Turing GLM error when trying to use ReverseDiff as the AD backend](https://discourse.julialang.org/t/turing-glm-error-when-trying-to-use-reversediff-as-the-ad-backend/83803)

<div class="topic-metadata">

**Author:** [@sree\_datta](https://discourse.julialang.org/u/sree_datta)\
**Replies:** 0\
**Last updated:** [July 5, 2022, 10:07pm UTC](https://discourse.julialang.org/t/turing-glm-error-when-trying-to-use-reversediff-as-the-ad-backend/83803 "2022-07-05T22:07:20Z")

</div>

@Storopoli @devmotion @torfjelde Working with the same data set where we were discussing the use of ReverseDiff for a more efficient and faster sampling, I tried to run the same model using TuringGLM and its’ formulaic …

---

## [How to "maximize" an unknown categorical function?](https://discourse.julialang.org/t/how-to-maximize-an-unknown-categorical-function/83641)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 8\
**Last updated:** [July 5, 2022, 9:11pm UTC](https://discourse.julialang.org/t/how-to-maximize-an-unknown-categorical-function/83641 "2022-07-05T21:11:05Z")

</div>

Or… How to numerically find the value of a set of variables that produce a given condition? Say I have a problem in which, under certain conditions, something happens. For example, a machine that stops working. O…

---

## [JuMP and CPLEX - Setting number of threads](https://discourse.julialang.org/t/jump-and-cplex-setting-number-of-threads/83747)

<div class="topic-metadata">

**Author:** [@vmk97](https://discourse.julialang.org/u/vmk97)\
**Replies:** 4\
**Last updated:** [July 5, 2022, 12:56pm UTC](https://discourse.julialang.org/t/jump-and-cplex-setting-number-of-threads/83747 "2022-07-05T12:56:37Z")

</div>

I am trying to solve a mixed integer linear program by branch-and-cut using JuMP and CPLEX. I am having some trouble setting the number of threads for CPLEX. I am trying to set the parameter CPXPARAM\_Threads using set\_…

---

## [Issues with abm visualization](https://discourse.julialang.org/t/issues-with-abm-visualization/83739)

<div class="topic-metadata">

**Author:** [@Fatima](https://discourse.julialang.org/u/Fatima)\
**Replies:** 5\
**Last updated:** [July 5, 2022, 9:07am UTC](https://discourse.julialang.org/t/issues-with-abm-visualization/83739 "2022-07-05T09:07:23Z")

</div>

Hi, I’m trying to visualize my agents moving, however, I keep running into this error: MethodError: Cannot convert an object of type Tuple{Int64} to an object of type GeometryBasics.OffsetInteger{-1, UInt32} The image…

---

## [Instability in system with low abstol and "Larger maxiters is needed" DifferentialEquations.jl; DynamicalSystems.jl](https://discourse.julialang.org/t/instability-in-system-with-low-abstol-and-larger-maxiters-is-needed-differentialequations-jl-dynamicalsystems-jl/83741)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 13\
**Last updated:** [July 5, 2022, 7:54am UTC](https://discourse.julialang.org/t/instability-in-system-with-low-abstol-and-larger-maxiters-is-needed-differentialequations-jl-dynamicalsystems-jl/83741 "2022-07-05T07:54:40Z")

</div>

I have system Lienard with fixed parametres. I use alpha 0.20 and w = 0.7315 with t = 500000, when using default algorithm result is uncorrect. I use Feagin12 with abstol 20 and have problem with Instability, if i …

---

## [Trouble making topographical EEG interpolation](https://discourse.julialang.org/t/trouble-making-topographical-eeg-interpolation/35733)

<div class="topic-metadata">

**Author:** [@ElectronicTeaCup](https://discourse.julialang.org/u/ElectronicTeaCup)\
**Replies:** 18\
**Last updated:** [July 5, 2022, 5:55am UTC](https://discourse.julialang.org/t/trouble-making-topographical-eeg-interpolation/35733 "2022-07-05T05:55:46Z")

</div>

Hi everyone. I’m trying to make an EEG topographical plot, something like this: The steps, in general are (without the aesthetics and circular appearance): Turn polar coordinates to Cartesian coordinates Interpolate…

---

## [LaTeX fonts render different for different backends](https://discourse.julialang.org/t/latex-fonts-render-different-for-different-backends/83718)

<div class="topic-metadata">

**Author:** [@leonandonayre](https://discourse.julialang.org/u/leonandonayre)\
**Replies:** 2\
**Last updated:** [July 5, 2022, 3:02am UTC](https://discourse.julialang.org/t/latex-fonts-render-different-for-different-backends/83718 "2022-07-05T03:02:41Z")

</div>

I would like to use PyPlot backend (because there are some issue with GR backend), however I noticed LaTeX fonts render different and I do not know how to change it. Here is a sample code for the GR backend. using LaTe…

---

## [How download file with Stipple (Genie)](https://discourse.julialang.org/t/how-download-file-with-stipple-genie/83760)

<div class="topic-metadata">

**Author:** [@Rafael\_Brus](https://discourse.julialang.org/u/Rafael_Brus)\
**Replies:** 0\
**Last updated:** [July 5, 2022, 12:28am UTC](https://discourse.julialang.org/t/how-download-file-with-stipple-genie/83760 "2022-07-05T00:28:05Z")

</div>

Does anyone know how?

---

## [Errors when trying to compute hessian of flux neural net and jacobian of jacobian with zygote](https://discourse.julialang.org/t/errors-when-trying-to-compute-hessian-of-flux-neural-net-and-jacobian-of-jacobian-with-zygote/83631)

<div class="topic-metadata">

**Author:** [@dnajera](https://discourse.julialang.org/u/dnajera)\
**Replies:** 1\
**Last updated:** [July 4, 2022, 8:31pm UTC](https://discourse.julialang.org/t/errors-when-trying-to-compute-hessian-of-flux-neural-net-and-jacobian-of-jacobian-with-zygote/83631 "2022-07-04T20:31:11Z")

</div>

Hi, I’m trying to translate some of my code in Jax over to Julia and running into some errors when trying to use Zygote with Flux neural networks. I have two problems: I get an error when trying to compute the Hessian…

---

## [Delay Differential Equations Networks with different delay per edge](https://discourse.julialang.org/t/delay-differential-equations-networks-with-different-delay-per-edge/69787)

<div class="topic-metadata">

**Author:** [@Ger](https://discourse.julialang.org/u/Ger)\
**Replies:** 38\
**Last updated:** [July 4, 2022, 5:28pm UTC](https://discourse.julialang.org/t/delay-differential-equations-networks-with-different-delay-per-edge/69787 "2022-07-04T17:28:11Z")

</div>

Hi everyone! While Julia-evangelizing (as usual) in my research group, in order to encourage them to move to Julia I offered to convert some of their Python codes for solving a network of Kuramoto oscillators with delay …

---

## [Correct Way to Compose ReverseDiff and ForwardDiff](https://discourse.julialang.org/t/correct-way-to-compose-reversediff-and-forwarddiff/83708)

<div class="topic-metadata">

**Author:** [@RS-Coop](https://discourse.julialang.org/u/RS-Coop)\
**Replies:** 8\
**Last updated:** [July 4, 2022, 3:22pm UTC](https://discourse.julialang.org/t/correct-way-to-compose-reversediff-and-forwarddiff/83708 "2022-07-04T15:22:45Z")

</div>

I am trying to use ReverseDiff.jl and ForwardDiff.jl as a mixed mode AD approach to computing a Hessian vector product. I am using the following function: import ForwardDiff as fdiff import ReverseDiff as rdiff functio…

---

## [LightGraphs.jl Transition](https://discourse.julialang.org/t/lightgraphs-jl-transition/69526)

<div class="topic-metadata">

**Author:** [@jpfairbanks](https://discourse.julialang.org/u/jpfairbanks)\
**Replies:** 73\
**Last updated:** [July 4, 2022, 12:20pm UTC](https://discourse.julialang.org/t/lightgraphs-jl-transition/69526 "2022-07-04T12:20:39Z")

</div>

Since Jan 21, 2015 @sbromberger has been leading the LightGraphs development to build a correct, flexible, and performant graph analytics toolkit. I joined the project on March 3, 2015 when I needed to isolate the maxima…

---

## [Social Force equations in agents.jl](https://discourse.julialang.org/t/social-force-equations-in-agents-jl/82622)

<div class="topic-metadata">

**Author:** [@Fatima](https://discourse.julialang.org/u/Fatima)\
**Replies:** 2\
**Last updated:** [July 4, 2022, 11:17am UTC](https://discourse.julialang.org/t/social-force-equations-in-agents-jl/82622 "2022-07-04T11:17:24Z")

</div>

Hello, I’m new to agents.jl and am planning on creating an agent based model for an evacuation simulation that integrates the impacts of psychological factors on agent velocity. Does the agents.jl package utilize the soc…

---

## [Retain editable text on saving to PDF, Plots-GR](https://discourse.julialang.org/t/retain-editable-text-on-saving-to-pdf-plots-gr/83609)

<div class="topic-metadata">

**Author:** [@iabraham](https://discourse.julialang.org/u/iabraham)\
**Replies:** 4\
**Last updated:** [July 4, 2022, 11:15am UTC](https://discourse.julialang.org/t/retain-editable-text-on-saving-to-pdf-plots-gr/83609 "2022-07-04T11:15:59Z")

</div>

This was already posted here and I am not sure if cross posting is allowed, but this community seems much more active. I am trying to save some figures I made in Julia (Plots package, GR backend) to PDFs and I love the…

---

## [How do I annotate datapoints](https://discourse.julialang.org/t/how-do-i-annotate-datapoints/83709)

<div class="topic-metadata">

**Author:** [@Chiem](https://discourse.julialang.org/u/Chiem)\
**Replies:** 3\
**Last updated:** [July 3, 2022, 7:05pm UTC](https://discourse.julialang.org/t/how-do-i-annotate-datapoints/83709 "2022-07-03T19:05:51Z")

</div>

Hello everyone, I have been using the Makie.jl package (more specifically CairoMakie) for the creation of figures for the project I am working on. I am currently creating a scatterplot and would like to annotate my datap…

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

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