# Specific Domains

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

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

**Page:** 164

---

## [ModelingToolkitStandardLibrary SampledData Component](https://discourse.julialang.org/t/modelingtoolkitstandardlibrary-sampleddata-component/104401)

<div class="topic-metadata">

**Author:** [@johnb](https://discourse.julialang.org/u/johnb)\
**Replies:** 3\
**Last updated:** [September 29, 2023, 5:54pm UTC](https://discourse.julialang.org/t/modelingtoolkitstandardlibrary-sampleddata-component/104401 "2023-09-29T17:54:05Z")

</div>

I’ve been trying to understand how to use the SampledData component from ModelingToolkitStandardLibrary, but I’ve been having trouble getting the example from documentation working. I’ve modified the code from the exampl…

---

## [How to use TLS client certificates with HTTP.jl](https://discourse.julialang.org/t/how-to-use-tls-client-certificates-with-http-jl/40643)

<div class="topic-metadata">

**Author:** [@bluesmoon](https://discourse.julialang.org/u/bluesmoon)\
**Replies:** 3\
**Last updated:** [September 29, 2023, 4:17pm UTC](https://discourse.julialang.org/t/how-to-use-tls-client-certificates-with-http-jl/40643 "2023-09-29T16:17:51Z")

</div>

How do I connect to a HTTPS server that requires client certificates using HTTP.jl? I can do this with LibCURL.jl with the following options: curl\_easy\_setopt(curl, CURLOPT\_SSL\_VERIFYPEER, 1) # Verify the peer's …

---

## [Problem fitting a State-space model with matrices in RxInfer.jl](https://discourse.julialang.org/t/problem-fitting-a-state-space-model-with-matrices-in-rxinfer-jl/104400)

<div class="topic-metadata">

**Author:** [@grafaelw](https://discourse.julialang.org/u/grafaelw)\
**Replies:** 0\
**Last updated:** [September 29, 2023, 2:17pm UTC](https://discourse.julialang.org/t/problem-fitting-a-state-space-model-with-matrices-in-rxinfer-jl/104400 "2023-09-29T14:17:49Z")

</div>

Hi everyone, I am trying to recreate a paper from J. Luttinen as follows https://users.ics.aalto.fi/jluttine/ecml2013/ . However, I am having some difficulties to infer A and C matrices due to following reason: It c…

---

## [Control of an ODE using neural network](https://discourse.julialang.org/t/control-of-an-ode-using-neural-network/101206)

<div class="topic-metadata">

**Author:** [@SanAlphaTau](https://discourse.julialang.org/u/SanAlphaTau)\
**Replies:** 3\
**Last updated:** [September 29, 2023, 12:33pm UTC](https://discourse.julialang.org/t/control-of-an-ode-using-neural-network/101206 "2023-09-29T12:33:33Z")

</div>

I recall previous diffeqflux.jl docs having an example of how to train a neural network as a control of a ODE. Essentially subbing the control term for a neural network call. https://docs.juliahub.com/DiffEqFlux/BdO4p/1…

---

## [Hessian of function involving integration of ODE](https://discourse.julialang.org/t/hessian-of-function-involving-integration-of-ode/104339)

<div class="topic-metadata">

**Author:** [@Stefano\_Giampiccolo](https://discourse.julialang.org/u/Stefano_Giampiccolo)\
**Replies:** 2\
**Last updated:** [September 29, 2023, 7:12am UTC](https://discourse.julialang.org/t/hessian-of-function-involving-integration-of-ode/104339 "2023-09-29T07:12:04Z")

</div>

Hi all, I apologize if it’s a possibly stupid question, but I am trying to calculate the Hessian of a function that internally performs the integration of a differential equation. What I am currently doing is this: usi…

---

## [Cholesky with sparse matrices](https://discourse.julialang.org/t/cholesky-with-sparse-matrices/72494)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 8\
**Last updated:** [September 29, 2023, 6:31am UTC](https://discourse.julialang.org/t/cholesky-with-sparse-matrices/72494 "2023-09-29T06:31:02Z")

</div>

Should the following example work? julia\> using LinearAlgebra julia\> using SparseArrays julia\> # 10x10 sparse matrix A = sprand(10, 10, 1.0) 10×10 SparseMatrixCSC{Float64, Int64} with 100 stored entries: 0.904…

---

## [Bell shaped?](https://discourse.julialang.org/t/bell-shaped/104362)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 14\
**Last updated:** [September 28, 2023, 11:07pm UTC](https://discourse.julialang.org/t/bell-shaped/104362 "2023-09-28T23:07:37Z")

</div>

Not a specific question about julia, but I’m sure someone can help me get a correct idea about the following problem. I know that the average tax applied in the various US states on the price of cigarettes is mu=73cents…

---

## [StackOverflowError() with ModellingToolkit.jl and NaNMath.jl](https://discourse.julialang.org/t/stackoverflowerror-with-modellingtoolkit-jl-and-nanmath-jl/104364)

<div class="topic-metadata">

**Author:** [@dleather](https://discourse.julialang.org/u/dleather)\
**Replies:** 6\
**Last updated:** [September 28, 2023, 9:04pm UTC](https://discourse.julialang.org/t/stackoverflowerror-with-modellingtoolkit-jl-and-nanmath-jl/104364 "2023-09-28T21:04:36Z")

</div>

The following code results in a StackOverflowError() in Julia 1.9. Is this expected behavior? using ModelingToolkit using NaNMath #Define Problem @variables t g(t) π(t) r(t) @parameters α\_g α\_π α\_r κ\_g κ\_π κ\_r ϕ\_g ϕ\_π…

---

## [Release announcements for DataFrames.jl](https://discourse.julialang.org/t/release-announcements-for-dataframes-jl/18258)

<div class="topic-metadata">

**Author:** [@bkamins](https://discourse.julialang.org/u/bkamins)\
**Replies:** 186\
**Last updated:** [September 28, 2023, 8:26pm UTC](https://discourse.julialang.org/t/release-announcements-for-dataframes-jl/18258 "2023-09-28T20:26:39Z")

</div>

@nalimilan has just tagged the DataFrames.jl package release v0.15.0. It contains many major changes, in particular a significant improvement of split-apply-combine family of functions - both in terms of speed and usabi…

---

## [GLMakie Menu Filter](https://discourse.julialang.org/t/glmakie-menu-filter/104331)

<div class="topic-metadata">

**Author:** [@matthew3245](https://discourse.julialang.org/u/matthew3245)\
**Replies:** 2\
**Last updated:** [September 28, 2023, 10:02am UTC](https://discourse.julialang.org/t/glmakie-menu-filter/104331 "2023-09-28T10:02:54Z")

</div>

Hi, I’m just wondering if anyone has an idea on how to filter the menu items in GLMakie. I have a GUI with \>50 menu items and its really difficult scrolling to the specific item I need. Naturally when I click the menu, I…

---

## [ANN: JuMP-dev 2023](https://discourse.julialang.org/t/ann-jump-dev-2023/91238)

<div class="topic-metadata">

**Author:** [@odow](https://discourse.julialang.org/u/odow)\
**Replies:** 3\
**Last updated:** [September 28, 2023, 4:22am UTC](https://discourse.julialang.org/t/ann-jump-dev-2023/91238 "2023-09-28T04:22:57Z")

</div>

Dear all, We are pleased to announce that JuMP-dev 2023 will be co-located with JuliaCon 2023. This year, JuliaCon is being held in person, 24-29 July, 2023 in Cambridge, Massachusetts. You can find more information on…

---

## [Unexpected OOM errrors in julia 1.9.0 and 1.9.1 with Distributed](https://discourse.julialang.org/t/unexpected-oom-errrors-in-julia-1-9-0-and-1-9-1-with-distributed/100103)

<div class="topic-metadata">

**Author:** [@vfonov](https://discourse.julialang.org/u/vfonov)\
**Replies:** 6\
**Last updated:** [September 28, 2023, 2:38am UTC](https://discourse.julialang.org/t/unexpected-oom-errrors-in-julia-1-9-0-and-1-9-1-with-distributed/100103 "2023-09-28T02:38:18Z")

</div>

I have a relatively simple script that used to run fine on 1.8.X version: it executes lots of relatively small jobs via pmap. Executing on julia 1.8.5 with -p 32 , creates 32 processes , each using approximately 2Gb an…

---

## [Imposing constraints on solutions by DifferentialEquations.jl](https://discourse.julialang.org/t/imposing-constraints-on-solutions-by-differentialequations-jl/104255)

<div class="topic-metadata">

**Author:** [@NitinGupta](https://discourse.julialang.org/u/NitinGupta)\
**Replies:** 29\
**Last updated:** [September 27, 2023, 2:56pm UTC](https://discourse.julialang.org/t/imposing-constraints-on-solutions-by-differentialequations-jl/104255 "2023-09-27T14:56:39Z")

</div>

I have N linearly coupled ODEs that DifferentialEquations.jl is able to solve - but with a huge amount of error. I detect the error because the solutions are supposed to follow a particular constraint at all time steps b…

---

## [Generic array code that works with CUDA and Zygote?](https://discourse.julialang.org/t/generic-array-code-that-works-with-cuda-and-zygote/104295)

<div class="topic-metadata">

**Author:** [@mchitre](https://discourse.julialang.org/u/mchitre)\
**Replies:** 0\
**Last updated:** [September 27, 2023, 7:22am UTC](https://discourse.julialang.org/t/generic-array-code-that-works-with-cuda-and-zygote/104295 "2023-09-27T07:22:22Z")

</div>

I am interested in writing a generic function that operates on an AbstractArray and produces some output. In doing so, it needs to create an intermediate array. The function should work with CPU arrays and GPU arrays, an…

---

## [Cannot ForwardDiff through linear least squares via QR](https://discourse.julialang.org/t/cannot-forwarddiff-through-linear-least-squares-via-qr/104257)

<div class="topic-metadata">

**Author:** [@Neodym](https://discourse.julialang.org/u/Neodym)\
**Replies:** 6\
**Last updated:** [September 27, 2023, 6:26am UTC](https://discourse.julialang.org/t/cannot-forwarddiff-through-linear-least-squares-via-qr/104257 "2023-09-27T06:26:39Z")

</div>

Hey, I’d like to get derivatives for a linear least squares problem where the parameter appears in the right hand side: using LinearAlgebra using ForwardDiff A = rand(10, 3) b = rand(10) qr\_fact = qr(A) function f(p…

---

## [PowerModelsADA.jl](https://discourse.julialang.org/t/powermodelsada-jl/104290)

<div class="topic-metadata">

**Author:** [@priod](https://discourse.julialang.org/u/priod)\
**Replies:** 4\
**Last updated:** [September 27, 2023, 12:37am UTC](https://discourse.julialang.org/t/powermodelsada-jl/104290 "2023-09-27T00:37:12Z")

</div>

Hi, I am trying to run the PowerModelsADA.jl (Power Models Alternating Distributed Algorithms) and using the Alternating Direction Method of Multipliers (ADMM) technique. I am following the example code and facing the f…

---

## [Why this code shows the following error: ERROR: type Float64 has no field layer\_1. In this code I want to optimize 2 unknown parameters g and k for a 2D PDE with 4 boundary conditions and 3 known data points](https://discourse.julialang.org/t/why-this-code-shows-the-following-error-error-type-float64-has-no-field-layer-1-in-this-code-i-want-to-optimize-2-unknown-parameters-g-and-k-for-a-2d-pde-with-4-boundary-conditions-and-3-known-data-points/104289)

<div class="topic-metadata">

**Author:** [@ShadmanSakief](https://discourse.julialang.org/u/ShadmanSakief)\
**Replies:** 0\
**Last updated:** [September 26, 2023, 10:13pm UTC](https://discourse.julialang.org/t/why-this-code-shows-the-following-error-error-type-float64-has-no-field-layer-1-in-this-code-i-want-to-optimize-2-unknown-parameters-g-and-k-for-a-2d-pde-with-4-boundary-conditions-and-3-known-data-points/104289 "2023-09-26T22:13:52Z")

</div>

using NeuralPDE, Lux, ModelingToolkit, Optimization, OptimizationOptimJL, DifferentialEquations @parameters x y g k @variables u(..) Dx = Differential(x) Dy = Differential(y) Define the PDE eq = Dx(Dx(u(x, y))) + Dy…

---

## [Vegalite bar chart strange behaviour](https://discourse.julialang.org/t/vegalite-bar-chart-strange-behaviour/104261)

<div class="topic-metadata">

**Author:** [@Axze-rgb](https://discourse.julialang.org/u/Axze-rgb)\
**Replies:** 6\
**Last updated:** [September 26, 2023, 8:07pm UTC](https://discourse.julialang.org/t/vegalite-bar-chart-strange-behaviour/104261 "2023-09-26T20:07:02Z")

</div>

Hello, I have a dataframe of a single column, it contains 619245 data points. I want to make a bar char to check the distribution. Here is my code df\_BQBZ|\> @vlplot(:bar, height=250, width=500, x={:BQBZ, steps=0.3}, y…

---

## [Matrix inversion inside JuMP objective](https://discourse.julialang.org/t/matrix-inversion-inside-jump-objective/104214)

<div class="topic-metadata">

**Author:** [@lsablon](https://discourse.julialang.org/u/lsablon)\
**Replies:** 4\
**Last updated:** [September 26, 2023, 8:05pm UTC](https://discourse.julialang.org/t/matrix-inversion-inside-jump-objective/104214 "2023-09-26T20:05:07Z")

</div>

Hello, I am trying to solve the following problem using JuMP: find a set of values u subject to different linear constraints (namely positivity and mass conservation) such that the distance to a know solution of a linea…

---

## [When using seriestype=:scatter, create individual labels for each dot?](https://discourse.julialang.org/t/when-using-seriestype-scatter-create-individual-labels-for-each-dot/104233)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 5\
**Last updated:** [September 26, 2023, 3:50pm UTC](https://discourse.julialang.org/t/when-using-seriestype-scatter-create-individual-labels-for-each-dot/104233 "2023-09-26T15:50:29Z")

</div>

I am using Plot recipes to create a plot overload for a special type of input. The result is a scatter plot with something like: @recipe function f(ms::MyStruct) seriestype --\> :scatter ms.x\_vals, ms.y\_vals end…

---

## [Flux new explicit API not work but old implicit API works for a simple RNN](https://discourse.julialang.org/t/flux-new-explicit-api-not-work-but-old-implicit-api-works-for-a-simple-rnn/104262)

<div class="topic-metadata">

**Author:** [@liuyxpp](https://discourse.julialang.org/u/liuyxpp)\
**Replies:** 0\
**Last updated:** [September 26, 2023, 1:36pm UTC](https://discourse.julialang.org/t/flux-new-explicit-api-not-work-but-old-implicit-api-works-for-a-simple-rnn/104262 "2023-09-26T13:36:37Z")

</div>

I am trying to reproduce the tutorial A Basic RNN using Flux.jl v0.14.6. Using the old Flux API as in the tutorial, the model can be successfully trained. The code is using Flux num\_samples = 1000 num\_epochs = 50 func…

---

## [Makie's hidden gems](https://discourse.julialang.org/t/makies-hidden-gems/104251)

<div class="topic-metadata">

**Author:** [@vvbond](https://discourse.julialang.org/u/vvbond)\
**Replies:** 0\
**Last updated:** [September 26, 2023, 9:59am UTC](https://discourse.julialang.org/t/makies-hidden-gems/104251 "2023-09-26T09:59:31Z")

</div>

I just came across this pattern of overloading Makielayout.get\_ticks() for a custom axis . Such an elegant example of use of Julia’s multiple dispatch for visualization of a bespoke axis type! The automatic support of th…

---

## [Issues with Interactive Visualization in Agents.jl](https://discourse.julialang.org/t/issues-with-interactive-visualization-in-agents-jl/103640)

<div class="topic-metadata">

**Author:** [@daler6](https://discourse.julialang.org/u/daler6)\
**Replies:** 2\
**Last updated:** [September 26, 2023, 9:03am UTC](https://discourse.julialang.org/t/issues-with-interactive-visualization-in-agents-jl/103640 "2023-09-26T09:03:43Z")

</div>

schellingagentsjl5.jl (6.3 KB) The attached file contains my modified version of the code for the Schelling model, which I am running using the latest versions of VS Code, Julia, Agents.jl, and the other packages noted …

---

## [Sequence of JuMP problems -- reduce memory usage](https://discourse.julialang.org/t/sequence-of-jump-problems-reduce-memory-usage/103797)

<div class="topic-metadata">

**Author:** [@gmantegazza](https://discourse.julialang.org/u/gmantegazza)\
**Replies:** 9\
**Last updated:** [September 26, 2023, 8:27am UTC](https://discourse.julialang.org/t/sequence-of-jump-problems-reduce-memory-usage/103797 "2023-09-26T08:27:03Z")

</div>

Hello everyone, Thanks for existing! I have a problem withe memory usage when solving a sequence of JuMP problems. The structure of my code is the following. using JuMP using Gurobi function Opt(ID,Ind\_availL) Rou…

---

## [How to continue for loop even if model is infeasible](https://discourse.julialang.org/t/how-to-continue-for-loop-even-if-model-is-infeasible/104219)

<div class="topic-metadata">

**Author:** [@cdomenig](https://discourse.julialang.org/u/cdomenig)\
**Replies:** 3\
**Last updated:** [September 26, 2023, 8:11am UTC](https://discourse.julialang.org/t/how-to-continue-for-loop-even-if-model-is-infeasible/104219 "2023-09-26T08:11:24Z")

</div>

Hi everybody, I am currently running a MILP model in a for loop, where I am trying out around 800 different parameter combinations (a kind of sensivity analysis). Sometimes the model doesn’t find a feasible solutions (t…

---

## [How does the Octeract engine compare to Alpine?](https://discourse.julialang.org/t/how-does-the-octeract-engine-compare-to-alpine/104231)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 3\
**Last updated:** [September 26, 2023, 5:19am UTC](https://discourse.julialang.org/t/how-does-the-octeract-engine-compare-to-alpine/104231 "2023-09-26T05:19:14Z")

</div>

The octeract engine solved 100% of the Mittelmann MINLP benchmark. It is a commercial software. We have a free MINLP solver called Alpine. How do they compare? As a side note, why doesn’t JuMP list octeract as a com…

---

## [HiGHS Error: No invertible representation for getDualRay](https://discourse.julialang.org/t/highs-error-no-invertible-representation-for-getdualray/101372)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 16\
**Last updated:** [September 26, 2023, 2:48am UTC](https://discourse.julialang.org/t/highs-error-no-invertible-representation-for-getdualray/101372 "2023-09-26T02:48:57Z")

</div>

I get an error when I try to solve a feasibility problem in JuMP using HiGHS. I use Julia v1.9.1 with the Julia packages JuMP v1.12.0 and HiGHS v1.5.2. $ julia JuMP\_solve.jl Running HiGHS 1.5.3 \[date: 1970-01-01, git ha…

---

## [Using random\_agent with a condition](https://discourse.julialang.org/t/using-random-agent-with-a-condition/104229)

<div class="topic-metadata">

**Author:** [@daler6](https://discourse.julialang.org/u/daler6)\
**Replies:** 2\
**Last updated:** [September 25, 2023, 6:31pm UTC](https://discourse.julialang.org/t/using-random-agent-with-a-condition/104229 "2023-09-25T18:31:59Z")

</div>

I am working on reproducing the Zero Information trader in Julia using Agents.jl. My agents include a field named :traded, which is of type Bool and is initialized to false for all agents. This is changed to true once an…

---

## [How to force not to add colors with transparent 3D objects](https://discourse.julialang.org/t/how-to-force-not-to-add-colors-with-transparent-3d-objects/104216)

<div class="topic-metadata">

**Author:** [@peremato](https://discourse.julialang.org/u/peremato)\
**Replies:** 2\
**Last updated:** [September 25, 2023, 12:19pm UTC](https://discourse.julialang.org/t/how-to-force-not-to-add-colors-with-transparent-3d-objects/104216 "2023-09-25T12:19:44Z")

</div>

In GLMakie I would like that the color I use for lines is not added to the transparent 3D mesh object. For example using GLMakie using GeometryBasics fig = Figure(resolution=(1280, 720)) scene = LScene(fig\[1,1\]) box = …

---

## [Looking to prevent overfitting while using DataDrivenDiffEq.jl to estimate the equation for a time dependent diff eq](https://discourse.julialang.org/t/looking-to-prevent-overfitting-while-using-datadrivendiffeq-jl-to-estimate-the-equation-for-a-time-dependent-diff-eq/103931)

<div class="topic-metadata">

**Author:** [@mjc715](https://discourse.julialang.org/u/mjc715)\
**Replies:** 7\
**Last updated:** [September 25, 2023, 12:07pm UTC](https://discourse.julialang.org/t/looking-to-prevent-overfitting-while-using-datadrivendiffeq-jl-to-estimate-the-equation-for-a-time-dependent-diff-eq/103931 "2023-09-25T12:07:18Z")

</div>

In this code, we are looking to see if we can use DataDrivenDiffEq.jl to accurate predict an equation for a time dependent differential equation. To test this, we have been creating an equation, adding noise to the solut…

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

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