# Specific Domains

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

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

**Page:** 149

---

## [Evaluating constraints at fixed points (and extracting their variables) in JuMP](https://discourse.julialang.org/t/evaluating-constraints-at-fixed-points-and-extracting-their-variables-in-jump/47227)

<div class="topic-metadata">

**Author:** [@1ozturkbe](https://discourse.julialang.org/u/1ozturkbe)\
**Replies:** 5\
**Last updated:** [December 10, 2023, 3:47am UTC](https://discourse.julialang.org/t/evaluating-constraints-at-fixed-points-and-extracting-their-variables-in-jump/47227 "2023-12-10T03:47:44Z")

</div>

Hello folks, I know this has likely been addressed in a really deep thread here somewhere, but I have been having trouble evaluating constraints in JuMP for fixed variable values. So far, I am doing the following: # Wo…

---

## [ModelingToolkit - how to reset integrator](https://discourse.julialang.org/t/modelingtoolkit-how-to-reset-integrator/107364)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 4\
**Last updated:** [December 9, 2023, 9:17pm UTC](https://discourse.julialang.org/t/modelingtoolkit-how-to-reset-integrator/107364 "2023-12-09T21:17:32Z")

</div>

I have the following code: # Falling mass, attached to non-linear spring without compression stiffness, # initially moving upwards with 4 m/s. using ModelingToolkit, OrdinaryDiffEq, PyPlot, LinearAlgebra G\_EARTH = Flo…

---

## [Infeasible warmstart with JuMP & HiGHS](https://discourse.julialang.org/t/infeasible-warmstart-with-jump-highs/106869)

<div class="topic-metadata">

**Author:** [@ffevotte](https://discourse.julialang.org/u/ffevotte)\
**Replies:** 7\
**Last updated:** [December 9, 2023, 8:47pm UTC](https://discourse.julialang.org/t/infeasible-warmstart-with-jump-highs/106869 "2023-12-09T20:47:20Z")

</div>

I’m a bit at a loss with an issue I have when trying to warmstart HiGHS on my model. EDIT: I originally did not manage to build a minimal reproducer, so I made a relatively messy post (kept below for posterity). But I j…

---

## [Optimization with complex requirements](https://discourse.julialang.org/t/optimization-with-complex-requirements/107266)

<div class="topic-metadata">

**Author:** [@AwesomeQuest](https://discourse.julialang.org/u/AwesomeQuest)\
**Replies:** 3\
**Last updated:** [December 9, 2023, 8:33pm UTC](https://discourse.julialang.org/t/optimization-with-complex-requirements/107266 "2023-12-09T20:33:12Z")

</div>

My optimization problem can be simplified as follows. A vector of coefficients x has an upper an lower bound for each element. μ is a function of the elements of x that itself has an upper and lower bound. And μ has a…

---

## [Problem to use Javis](https://discourse.julialang.org/t/problem-to-use-javis/107367)

<div class="topic-metadata">

**Author:** [@Abdou](https://discourse.julialang.org/u/Abdou)\
**Replies:** 0\
**Last updated:** [December 9, 2023, 8:27pm UTC](https://discourse.julialang.org/t/problem-to-use-javis/107367 "2023-12-09T20:27:56Z")

</div>

after installing the latest version of Javis(0.9) on windows 7 sp1 and trying to use it, the compilation of the package gives a lot of error messages which the first is about accessing a file in my Temp directory for re…

---

## [Allow \`CategoricalArray\` when registering a \`DataFrame\` as \`ENUM\` in DuckDB](https://discourse.julialang.org/t/allow-categoricalarray-when-registering-a-dataframe-as-enum-in-duckdb/107365)

<div class="topic-metadata">

**Author:** [@danielw2904](https://discourse.julialang.org/u/danielw2904)\
**Replies:** 0\
**Last updated:** [December 9, 2023, 5:15pm UTC](https://discourse.julialang.org/t/allow-categoricalarray-when-registering-a-dataframe-as-enum-in-duckdb/107365 "2023-12-09T17:15:40Z")

</div>

Currently CategoricalArrays are not supported in DuckDB but I think it would be a good idea to do so. I have started a discussion on their Github repo. Would it be possible to add this using the new optional dependencies…

---

## [UndefVarError: 'N' not defined when solving ODE on GPU](https://discourse.julialang.org/t/undefvarerror-n-not-defined-when-solving-ode-on-gpu/107347)

<div class="topic-metadata">

**Author:** [@ian](https://discourse.julialang.org/u/ian)\
**Replies:** 3\
**Last updated:** [December 9, 2023, 1:19am UTC](https://discourse.julialang.org/t/undefvarerror-n-not-defined-when-solving-ode-on-gpu/107347 "2023-12-09T01:19:23Z")

</div>

Hi. I’m experimenting with using GPUs to solve large systems of ODEs. As an intial test I am running the following using DifferentialEquations, CUDA, LinearAlgebra function dynamics!(du, u, p, t) mul!(du, p, u) end…

---

## [Issue adapting NeuralPDE.jl documentation example code to use case](https://discourse.julialang.org/t/issue-adapting-neuralpde-jl-documentation-example-code-to-use-case/107198)

<div class="topic-metadata">

**Author:** [@BenWhip](https://discourse.julialang.org/u/BenWhip)\
**Replies:** 2\
**Last updated:** [December 8, 2023, 11:45pm UTC](https://discourse.julialang.org/t/issue-adapting-neuralpde-jl-documentation-example-code-to-use-case/107198 "2023-12-08T23:45:48Z")

</div>

Hello everyone, I am attempting to adapt the code from \[an example in the NeuralPDE documentation\], but am running into trouble. I am still fairly new at using Julia, so I apologize in advance if the solution is trivial…

---

## [Performance of lu(A)\\B versus inv(A)\*B to solve AX=B](https://discourse.julialang.org/t/performance-of-lu-a-b-versus-inv-a-b-to-solve-ax-b/107331)

<div class="topic-metadata">

**Author:** [@Pablo\_Marchant](https://discourse.julialang.org/u/Pablo_Marchant)\
**Replies:** 3\
**Last updated:** [December 8, 2023, 4:48pm UTC](https://discourse.julialang.org/t/performance-of-lu-a-b-versus-inv-a-b-to-solve-ax-b/107331 "2023-12-08T16:48:56Z")

</div>

Hi all, I’m working in a problem where I need to solve various Ax=b systems, where A is a dense (but usually not that large) matrix. Initially I was doing this by directly computing inverses and multiplying. Awful to do…

---

## [Haigh-Westergaard coordinates / π-plane plots](https://discourse.julialang.org/t/haigh-westergaard-coordinates-plane-plots/107335)

<div class="topic-metadata">

**Author:** [@Gravlax](https://discourse.julialang.org/u/Gravlax)\
**Replies:** 0\
**Last updated:** [December 8, 2023, 3:45pm UTC](https://discourse.julialang.org/t/haigh-westergaard-coordinates-plane-plots/107335 "2023-12-08T15:45:21Z")

</div>

Hi, Does anyone have experience with this type of visualisation? Is there a package that supports this type of diagram? cheers and thanks!

---

## [How to create sum-log-likelihood of custom distribution for use in Turing.jl](https://discourse.julialang.org/t/how-to-create-sum-log-likelihood-of-custom-distribution-for-use-in-turing-jl/107011)

<div class="topic-metadata">

**Author:** [@Bill\_Holmes](https://discourse.julialang.org/u/Bill_Holmes)\
**Replies:** 10\
**Last updated:** [December 8, 2023, 9:19am UTC](https://discourse.julialang.org/t/how-to-create-sum-log-likelihood-of-custom-distribution-for-use-in-turing-jl/107011 "2023-12-08T09:19:16Z")

</div>

I have a seemingly simple question about working with Turing.jl and Distributions.jl I’m hoping someone can help me with. For my work, I need to be able to define custom continuous, uni-variate distributions along with t…

---

## [Linear Acoustics/Elasticity in Julia?](https://discourse.julialang.org/t/linear-acoustics-elasticity-in-julia/107270)

<div class="topic-metadata">

**Author:** [@tt1234567](https://discourse.julialang.org/u/tt1234567)\
**Replies:** 8\
**Last updated:** [December 7, 2023, 8:06pm UTC](https://discourse.julialang.org/t/linear-acoustics-elasticity-in-julia/107270 "2023-12-07T20:06:32Z")

</div>

Hello. Are there any packages suitable for acoustic modelling in Julia? My problem (roughly) consists of a number of transducers transmitting inside a (finite) cylindrical shell and I’d like to compute the sound field. A…

---

## [Extracting the Power Flow equations from PowerModels](https://discourse.julialang.org/t/extracting-the-power-flow-equations-from-powermodels/107165)

<div class="topic-metadata">

**Author:** [@Jim16](https://discourse.julialang.org/u/Jim16)\
**Replies:** 4\
**Last updated:** [December 7, 2023, 7:48pm UTC](https://discourse.julialang.org/t/extracting-the-power-flow-equations-from-powermodels/107165 "2023-12-07T19:48:23Z")

</div>

Hello, I’m relatively new to both Julia and PowerModels.jl, and I wish to compare different algorithms for solving power flow equations. My objective is to obtain the power flow equations from PowerModels.jl, allowing m…

---

## [Define DE Callbacks programmatically to operate on a parameter field](https://discourse.julialang.org/t/define-de-callbacks-programmatically-to-operate-on-a-parameter-field/107186)

<div class="topic-metadata">

**Author:** [@jondavis847](https://discourse.julialang.org/u/jondavis847)\
**Replies:** 4\
**Last updated:** [December 7, 2023, 7:44pm UTC](https://discourse.julialang.org/t/define-de-callbacks-programmatically-to-operate-on-a-parameter-field/107186 "2023-12-07T19:44:25Z")

</div>

I may not be thinking about this right, but currently I have a system defined as a heirarchy of models. I store the full system in the parameters of a DifferentialEquations.jl ODEProblem. I can then use methods directly …

---

## [Spatial bounds of integration of a PDE using DifferentialEquations](https://discourse.julialang.org/t/spatial-bounds-of-integration-of-a-pde-using-differentialequations/107241)

<div class="topic-metadata">

**Author:** [@Alberto\_Roman](https://discourse.julialang.org/u/Alberto_Roman)\
**Replies:** 3\
**Last updated:** [December 7, 2023, 5:21pm UTC](https://discourse.julialang.org/t/spatial-bounds-of-integration-of-a-pde-using-differentialequations/107241 "2023-12-07T17:21:31Z")

</div>

Hi there, I am solving a PDE over a large domain discretizing with finite difference the RHS and using DifferentialEquations.jl to integrate the ODE system in time. Is there anyway in which I can limit the integration t…

---

## [Recursive loop of callbacks in signal connect method of Gtk4 widgets](https://discourse.julialang.org/t/recursive-loop-of-callbacks-in-signal-connect-method-of-gtk4-widgets/107274)

<div class="topic-metadata">

**Author:** [@apurvdarji](https://discourse.julialang.org/u/apurvdarji)\
**Replies:** 1\
**Last updated:** [December 7, 2023, 2:53pm UTC](https://discourse.julialang.org/t/recursive-loop-of-callbacks-in-signal-connect-method-of-gtk4-widgets/107274 "2023-12-07T14:53:25Z")

</div>

I am trying to do bi-directional binding of two textboxes which are GtkEntry widgets from Gtk4.jl. The two textboxes should have the same text. I am using signal connect handlers on change events to achieve that. But it …

---

## [MTK: "Track" or print a non-state variable defined as an equation](https://discourse.julialang.org/t/mtk-track-or-print-a-non-state-variable-defined-as-an-equation/107170)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 1\
**Last updated:** [December 7, 2023, 5:01am UTC](https://discourse.julialang.org/t/mtk-track-or-print-a-non-state-variable-defined-as-an-equation/107170 "2023-12-07T05:01:58Z")

</div>

I have a rather large model which has two variables: @variables q, x that have some equations, let’s say eqs = \[ Differential(t)(x) ~ log(q), q ~ something \] After my equations are created x remains a state variable …

---

## [LSTM Method Error - Time Series](https://discourse.julialang.org/t/lstm-method-error-time-series/73973)

<div class="topic-metadata">

**Author:** [@sherlock\_holmes](https://discourse.julialang.org/u/sherlock_holmes)\
**Replies:** 3\
**Last updated:** [December 7, 2023, 1:37am UTC](https://discourse.julialang.org/t/lstm-method-error-time-series/73973 "2023-12-07T01:37:28Z")

</div>

I’m trying to train an LSTM model to predict number of real roots of polynomials. x\_train and y\_train include array of arrays such as \[\[-204, 20, 13, 1, 0\]\] which are coefficients of polynomials. x\_test and y\_test includ…

---

## [CUDA.jl testing errors](https://discourse.julialang.org/t/cuda-jl-testing-errors/107238)

<div class="topic-metadata">

**Author:** [@AshtonSBradley](https://discourse.julialang.org/u/AshtonSBradley)\
**Replies:** 1\
**Last updated:** [December 6, 2023, 11:55pm UTC](https://discourse.julialang.org/t/cuda-jl-testing-errors/107238 "2023-12-06T23:55:21Z")

</div>

Hi all, I have a problem with the CUDA.jl setup for Titan V cards, each in its own Redhat linux box. Previously everything was fine in Ubuntu. So here is the error (same on julia 1.9): (@v1.10) pkg\> test CUDA Test…

---

## [Logarithmic colorbar for multiple colored plots](https://discourse.julialang.org/t/logarithmic-colorbar-for-multiple-colored-plots/107205)

<div class="topic-metadata">

**Author:** [@maltee1](https://discourse.julialang.org/u/maltee1)\
**Replies:** 4\
**Last updated:** [December 6, 2023, 7:47pm UTC](https://discourse.julialang.org/t/logarithmic-colorbar-for-multiple-colored-plots/107205 "2023-12-06T19:47:55Z")

</div>

Hi, I have a series of plots, each associated with a different value of a parameter called k. The idea was to plot each line with a different color from a colormap and have the colorbar indicate which value of k each pl…

---

## [Error: Missing from the variable map](https://discourse.julialang.org/t/error-missing-from-the-variable-map/106853)

<div class="topic-metadata">

**Author:** [@aoifehealy](https://discourse.julialang.org/u/aoifehealy)\
**Replies:** 4\
**Last updated:** [December 6, 2023, 7:20pm UTC](https://discourse.julialang.org/t/error-missing-from-the-variable-map/106853 "2023-12-06T19:20:55Z")

</div>

Hi there, I am trying to modelling the circulatory system as an electrical circuit, based on the following image: My code is as follows, with resistors, capacitors and inductors based on those in the RC model exampl…

---

## [Possible to emulate Plots.jl's zerolines layout in Makie?](https://discourse.julialang.org/t/possible-to-emulate-plots-jls-zerolines-layout-in-makie/107230)

<div class="topic-metadata">

**Author:** [@mike.ingold](https://discourse.julialang.org/u/mike.ingold)\
**Replies:** 1\
**Last updated:** [December 6, 2023, 6:52pm UTC](https://discourse.julialang.org/t/possible-to-emulate-plots-jls-zerolines-layout-in-makie/107230 "2023-12-06T18:52:18Z")

</div>

Is there a built-in option in Makie to format an Axis to emulate the style of plot(x,y, framestyle=:zerolines), i.e. no outer spines and axis lines drawn through x=0 and y=0? Essentially, trying to achieve something like…

---

## [Reload theme in Makie](https://discourse.julialang.org/t/reload-theme-in-makie/107191)

<div class="topic-metadata">

**Author:** [@danbulnet](https://discourse.julialang.org/u/danbulnet)\
**Replies:** 2\
**Last updated:** [December 6, 2023, 10:55am UTC](https://discourse.julialang.org/t/reload-theme-in-makie/107191 "2023-12-06T10:55:58Z")

</div>

Hello, I am trying to make a simple GUI using Makie.jl. I would like to allow users to change themes by pressing a button. I found that the following code doesn’t work: set\_theme!(theme\_light()) while that snippet w…

---

## [Stakeholders, Environment, Markets - Depiction in Land Use Models](https://discourse.julialang.org/t/stakeholders-environment-markets-depiction-in-land-use-models/107207)

<div class="topic-metadata">

**Author:** [@uweaschneider](https://discourse.julialang.org/u/uweaschneider)\
**Replies:** 0\
**Last updated:** [December 6, 2023, 9:35am UTC](https://discourse.julialang.org/t/stakeholders-environment-markets-depiction-in-land-use-models/107207 "2023-12-06T09:35:01Z")

</div>

Dear all, If you use JULIA for land use research, I would like to ask you to take part in the following short survey: https://umfragen.uni-hamburg.de/index.php/844656?lang=en The goal is to assess how existing scienti…

---

## [I'm having trouble installing GPLK](https://discourse.julialang.org/t/im-having-trouble-installing-gplk/107195)

<div class="topic-metadata">

**Author:** [@doriiido](https://discourse.julialang.org/u/doriiido)\
**Replies:** 7\
**Last updated:** [December 6, 2023, 5:31am UTC](https://discourse.julialang.org/t/im-having-trouble-installing-gplk/107195 "2023-12-06T05:31:25Z")

</div>

I’m fairly new to Julia, I’m trying to install GPLK package but this erroe keeps showing up: (@v1.6) pkg\> add GPLK Updating registry at C:\\Users\\doriiido\\.julia\\registries\\General Updating git-repo https://github.com/…

---

## [\`Gurobi.Optimizer()\` throws, reports \`Gurobi Error 10001\` even though there's plenty of memory](https://discourse.julialang.org/t/gurobi-optimizer-throws-reports-gurobi-error-10001-even-though-theres-plenty-of-memory/107193)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 2\
**Last updated:** [December 6, 2023, 4:41am UTC](https://discourse.julialang.org/t/gurobi-optimizer-throws-reports-gurobi-error-10001-even-though-theres-plenty-of-memory/107193 "2023-12-06T04:41:33Z")

</div>

I’m not sure why, but, some times when I run Gurobi.Optimizer(), it throws, reporting Gurobi Error 10001, which is meant for out-of-memory situations. I’m pretty sure that’s some kind of bug, because there seems to be pl…

---

## [Plot the asymptotes on a bode diagram of any transfer function](https://discourse.julialang.org/t/plot-the-asymptotes-on-a-bode-diagram-of-any-transfer-function/107143)

<div class="topic-metadata">

**Author:** [@Frederic\_Gilt](https://discourse.julialang.org/u/Frederic_Gilt)\
**Replies:** 2\
**Last updated:** [December 6, 2023, 12:25am UTC](https://discourse.julialang.org/t/plot-the-asymptotes-on-a-bode-diagram-of-any-transfer-function/107143 "2023-12-06T00:25:47Z")

</div>

My question is in the title :). I used ControlSystems package but wasn’t able to find a clean way to plot those asymptotes, and didn’t find any related topics here… Do I need to built it from scratch ? Thx for the help ! …

---

## [What else than PATH solver for linear or mixed complementarity problem (LCP/MCP)?](https://discourse.julialang.org/t/what-else-than-path-solver-for-linear-or-mixed-complementarity-problem-lcp-mcp/107110)

<div class="topic-metadata">

**Author:** [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Replies:** 14\
**Last updated:** [December 5, 2023, 11:09pm UTC](https://discourse.julialang.org/t/what-else-than-path-solver-for-linear-or-mixed-complementarity-problem-lcp-mcp/107110 "2023-12-05T23:09:38Z")

</div>

What else than PATHSolver.jl is available in Julia for linear or mixed complementarity problem (LCP/MCP)? Within JuMP or outside it. The thing is that The PATH Solver binaries are still not available for Apple M process…

---

## [Custom Models For Bayesian Inference](https://discourse.julialang.org/t/custom-models-for-bayesian-inference/107132)

<div class="topic-metadata">

**Author:** [@Bill\_Holmes](https://discourse.julialang.org/u/Bill_Holmes)\
**Replies:** 4\
**Last updated:** [December 5, 2023, 10:11pm UTC](https://discourse.julialang.org/t/custom-models-for-bayesian-inference/107132 "2023-12-05T22:11:56Z")

</div>

Hello all. I’m hoping someone can help me navigate the web of probabilistic programming packages so that I can begin using the Julia ecosystem for my custom models. I am experienced with Bayesian methods and probabilisti…

---

## [Convert discrete to continuous using delays](https://discourse.julialang.org/t/convert-discrete-to-continuous-using-delays/106992)

<div class="topic-metadata">

**Author:** [@maltee1](https://discourse.julialang.org/u/maltee1)\
**Replies:** 15\
**Last updated:** [December 5, 2023, 8:14pm UTC](https://discourse.julialang.org/t/convert-discrete-to-continuous-using-delays/106992 "2023-12-05T20:14:03Z")

</div>

I have a discrete MIMO system in state space form and I’m trying to convert the internal feedback path from z^-1 to a continuous delay (i.e. exp(-s\*T)). In MATLAB, I have the fairly clunky but working solution to plug t…

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

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