# Specific Domains

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

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

**Page:** 63

---

## [Creating Constraints Quickly](https://discourse.julialang.org/t/creating-constraints-quickly/124947)

<div class="topic-metadata">

**Author:** [@cs1231](https://discourse.julialang.org/u/cs1231)\
**Replies:** 1\
**Last updated:** [January 21, 2025, 7:03am UTC](https://discourse.julialang.org/t/creating-constraints-quickly/124947 "2025-01-21T07:03:34Z")

</div>

I have been using Mathematica with my optimisation problem and am now keen to try the optimisation tools in Julia (SDDP in particular). Am new Julia so plz bear with me. In my optimisation problem, my constraints are ac…

---

## [Band filled by vertical gradient in Makie.jl](https://discourse.julialang.org/t/band-filled-by-vertical-gradient-in-makie-jl/124987)

<div class="topic-metadata">

**Author:** [@albertomercurio](https://discourse.julialang.org/u/albertomercurio)\
**Replies:** 4\
**Last updated:** [January 20, 2025, 10:43pm UTC](https://discourse.julialang.org/t/band-filled-by-vertical-gradient-in-makie-jl/124987 "2025-01-20T22:43:55Z")

</div>

Hello, I would like to make a band filled by a vertical gradient using CairoMakie.jl. The result should be similar to this example. How can I do it in a clear way using CairoMakie.jl?

---

## [Why is IPOPT executed repeatedly for OPF on MultiNetworks from PowerModels.jl?](https://discourse.julialang.org/t/why-is-ipopt-executed-repeatedly-for-opf-on-multinetworks-from-powermodels-jl/124936)

<div class="topic-metadata">

**Author:** [@beccy\_julia](https://discourse.julialang.org/u/beccy_julia)\
**Replies:** 5\
**Last updated:** [January 20, 2025, 2:09am UTC](https://discourse.julialang.org/t/why-is-ipopt-executed-repeatedly-for-opf-on-multinetworks-from-powermodels-jl/124936 "2025-01-20T02:09:13Z")

</div>

Dear community, I am using Multi Networks from PowerModels.jl on which I would like to run Optimal Power Flow (OPF). I use the MINLP solver Juniper with IPOPT as the nlp-solver. As a test grid I take the IEEE case14 and …

---

## [JuMP - Finding feasible discrete solutions](https://discourse.julialang.org/t/jump-finding-feasible-discrete-solutions/124865)

<div class="topic-metadata">

**Author:** [@samram](https://discourse.julialang.org/u/samram)\
**Replies:** 6\
**Last updated:** [January 19, 2025, 11:21am UTC](https://discourse.julialang.org/t/jump-finding-feasible-discrete-solutions/124865 "2025-01-19T11:21:43Z")

</div>

Hi - I’ve been enjoying experimenting with JuMP recently and I’m very grateful to the devs for open-sourcing this project. In general, I need to solve constrained non-linear mixed-integer optimisation problems. I’ve had …

---

## [Makie - Need Help with Animation](https://discourse.julialang.org/t/makie-need-help-with-animation/124890)

<div class="topic-metadata">

**Author:** [@parf](https://discourse.julialang.org/u/parf)\
**Replies:** 1\
**Last updated:** [January 18, 2025, 8:30pm UTC](https://discourse.julialang.org/t/makie-need-help-with-animation/124890 "2025-01-18T20:30:36Z")

</div>

Hello everyone! I have a function that plots a graph for a given frame (time point): function create\_figure(frame) time = (frame-1)\*t\_step xs = range(0, L, length=500) ys = range(0, L, length=500) zs =…

---

## [Question about mutual information calculation](https://discourse.julialang.org/t/question-about-mutual-information-calculation/124884)

<div class="topic-metadata">

**Author:** [@adannenberg](https://discourse.julialang.org/u/adannenberg)\
**Replies:** 5\
**Last updated:** [January 18, 2025, 3:08pm UTC](https://discourse.julialang.org/t/question-about-mutual-information-calculation/124884 "2025-01-18T15:08:39Z")

</div>

I came across this article which points out that A(x,y) = sqrt(1 - exp(-2 \* MI(x,y))) (where MI(x,y) is the mutual information shared by data samples x and y) is a very nice measure of association between x and y. One…

---

## [Is it possible to fetch results from solved model asynchronously](https://discourse.julialang.org/t/is-it-possible-to-fetch-results-from-solved-model-asynchronously/124888)

<div class="topic-metadata">

**Author:** [@Betristor](https://discourse.julialang.org/u/Betristor)\
**Replies:** 1\
**Last updated:** [January 18, 2025, 6:46am UTC](https://discourse.julialang.org/t/is-it-possible-to-fetch-results-from-solved-model-asynchronously/124888 "2025-01-18T06:46:11Z")

</div>

Suppose I have a model as follows: using CSV using JuMP using HiGHS using Random using DataFrames Random.seed!(2025) Z = 3 T = 8760 coef = rand(Float64, (Z,T)) m = Model(HiGHS.Optimizer) @variable(m, x1\[z in 1:Z, t in…

---

## [Calculating statistics of SubArray of CuArray](https://discourse.julialang.org/t/calculating-statistics-of-subarray-of-cuarray/124874)

<div class="topic-metadata">

**Author:** [@chrissm23](https://discourse.julialang.org/u/chrissm23)\
**Replies:** 2\
**Last updated:** [January 17, 2025, 2:13pm UTC](https://discourse.julialang.org/t/calculating-statistics-of-subarray-of-cuarray/124874 "2025-01-17T14:13:14Z")

</div>

Hello everyone! I am working with CuArrays of complex numbers. After some previous processing, I would like to calculate the variance of only the real part of the array along the first dimension. In order to avoid copyi…

---

## [JuMP - Update constraint with matrix coefficient](https://discourse.julialang.org/t/jump-update-constraint-with-matrix-coefficient/124844)

<div class="topic-metadata">

**Author:** [@luccafaro](https://discourse.julialang.org/u/luccafaro)\
**Replies:** 2\
**Last updated:** [January 17, 2025, 12:43pm UTC](https://discourse.julialang.org/t/jump-update-constraint-with-matrix-coefficient/124844 "2025-01-17T12:43:33Z")

</div>

Hi everyone :grinning: I’m trying to iteratively solve an optimisation problem in which most of the elements (e.g. objective function and constraints) remain the same over the iterations, but the constraint below needs …

---

## [AMDGPU error on Fedora 40](https://discourse.julialang.org/t/amdgpu-error-on-fedora-40/124779)

<div class="topic-metadata">

**Author:** [@billmclean](https://discourse.julialang.org/u/billmclean)\
**Replies:** 3\
**Last updated:** [January 17, 2025, 11:31am UTC](https://discourse.julialang.org/t/amdgpu-error-on-fedora-40/124779 "2025-01-17T11:31:05Z")

</div>

When I run using AMDGPU I get the error message : CommandLine Error: Option 'disassemble' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options \[10292\] signal (6.-6): Aborted in express…

---

## [Using ODE solvers for accelerator physics project](https://discourse.julialang.org/t/using-ode-solvers-for-accelerator-physics-project/124853)

<div class="topic-metadata">

**Author:** [@Oleksii](https://discourse.julialang.org/u/Oleksii)\
**Replies:** 1\
**Last updated:** [January 17, 2025, 9:27am UTC](https://discourse.julialang.org/t/using-ode-solvers-for-accelerator-physics-project/124853 "2025-01-17T09:27:58Z")

</div>

Hi! I would like to incorporate DiffentialEquations for our Accelerator Physicists particle tracking code. The set up is the following: ensembles of particles are moving through the sequence of magnets each having a len…

---

## [How to get started modeling systems in SciML](https://discourse.julialang.org/t/how-to-get-started-modeling-systems-in-sciml/124780)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 2\
**Last updated:** [January 17, 2025, 9:26am UTC](https://discourse.julialang.org/t/how-to-get-started-modeling-systems-in-sciml/124780 "2025-01-17T09:26:59Z")

</div>

Hi everyone. I would like to port a “systems modeling” approach from R into SciML and have some questions about how to start. Let me describe some background. Several years ago I and coauthors worked out a method to simu…

---

## [Improving DAE performance](https://discourse.julialang.org/t/improving-dae-performance/124775)

<div class="topic-metadata">

**Author:** [@clm](https://discourse.julialang.org/u/clm)\
**Replies:** 5\
**Last updated:** [January 17, 2025, 9:26am UTC](https://discourse.julialang.org/t/improving-dae-performance/124775 "2025-01-17T09:26:54Z")

</div>

I’m looking to solve two implicitly-defined nonlinear ODEs. The system diverges toward the final integration z=H, but in a way that I expect, T\\sim1/(H-z) and u\\sim\\log(H-z), plus constants. What I’m hoping to do is int…

---

## [Handling of saturated integrator with anti-windeup](https://discourse.julialang.org/t/handling-of-saturated-integrator-with-anti-windeup/124819)

<div class="topic-metadata">

**Author:** [@hexaeder](https://discourse.julialang.org/u/hexaeder)\
**Replies:** 7\
**Last updated:** [January 16, 2025, 7:40pm UTC](https://discourse.julialang.org/t/handling-of-saturated-integrator-with-anti-windeup/124819 "2025-01-16T19:40:32Z")

</div>

I want to model a saturated integrator T\\dot{u} ~ = r\_\\mathrm{ref}-u in which u follows r\_\\mathrm{ref} but is also bounded to stay within u\\in(u\_\\mathrm{min}, u\_\\mathrm{max}). To prevent windeup effects, the integrato…

---

## [Wrong heatmap orientation with Plots.jl](https://discourse.julialang.org/t/wrong-heatmap-orientation-with-plots-jl/124822)

<div class="topic-metadata">

**Author:** [@peremato](https://discourse.julialang.org/u/peremato)\
**Replies:** 16\
**Last updated:** [January 16, 2025, 2:53pm UTC](https://discourse.julialang.org/t/wrong-heatmap-orientation-with-plots-jl/124822 "2025-01-16T14:53:12Z")

</div>

I do not understand what I am doing wrong plotting a 2D function. The resulted heatmap is rotated 90 deg. using Plots rosenbrock(x, y; a=1, b=100) = (a - x)^2 + b\*(y - x^2)^2 # Define the range for x and y x = -2:0.01…

---

## [Is there a package for Sliding Discrete Fourier Transforms?](https://discourse.julialang.org/t/is-there-a-package-for-sliding-discrete-fourier-transforms/122320)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 4\
**Last updated:** [January 16, 2025, 2:13pm UTC](https://discourse.julialang.org/t/is-there-a-package-for-sliding-discrete-fourier-transforms/122320 "2025-01-16T14:13:53Z")

</div>

I haven’t found any specific package for Sliding Discrete Fourier Transforms. If there is no one yet, I would be inclined to try draft one (with the simplest methods to start with), but in that case I would appreciate so…

---

## [Rational Polynomial Substitution](https://discourse.julialang.org/t/rational-polynomial-substitution/124820)

<div class="topic-metadata">

**Author:** [@gustave\_Robichon](https://discourse.julialang.org/u/gustave_Robichon)\
**Replies:** 1\
**Last updated:** [January 16, 2025, 2:12pm UTC](https://discourse.julialang.org/t/rational-polynomial-substitution/124820 "2025-01-16T14:12:54Z")

</div>

Hello there :slight\_smile: I am using some Rational Polynomial object. I want to substitute some variables inside it. How can I do ? Here is the code : using DynamicPolynomials @polyvar eta\_var eta = (0.0 + (1.0+0.0im)…

---

## [Automatic Differentiation (AD) in Julia vs. Python (or PyTorch)](https://discourse.julialang.org/t/automatic-differentiation-ad-in-julia-vs-python-or-pytorch/124553)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 14\
**Last updated:** [January 16, 2025, 11:52am UTC](https://discourse.julialang.org/t/automatic-differentiation-ad-in-julia-vs-python-or-pytorch/124553 "2025-01-16T11:52:55Z")

</div>

(I find that there were related discussions already: Automatic Differentiation (AD) in Python compared to Julia and AD Basics Automatic differentiation - Julia implementation advantages. But they were at least 4 years…

---

## [Makie.jl: how to display labels on a waterfall chart](https://discourse.julialang.org/t/makie-jl-how-to-display-labels-on-a-waterfall-chart/124742)

<div class="topic-metadata">

**Author:** [@ajk](https://discourse.julialang.org/u/ajk)\
**Replies:** 3\
**Last updated:** [January 16, 2025, 9:00am UTC](https://discourse.julialang.org/t/makie-jl-how-to-display-labels-on-a-waterfall-chart/124742 "2025-01-16T09:00:27Z")

</div>

Hi, I can’t figure out how to label the bars in a Makie waterfall chart anymore. It used to be possible to pass all barplot options to waterfall(...), e.g. the following code used to run. Since updating I now have to com…

---

## [HomotopyContinuation: Duffing Revisited: Plotting Solution from Multiple Paths](https://discourse.julialang.org/t/homotopycontinuation-duffing-revisited-plotting-solution-from-multiple-paths/124735)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 3\
**Last updated:** [January 15, 2025, 5:03pm UTC](https://discourse.julialang.org/t/homotopycontinuation-duffing-revisited-plotting-solution-from-multiple-paths/124735 "2025-01-15T17:03:16Z")

</div>

I am seeking to plot the solutions that HomotopyContinuation.jl returns in case of multiple solution branches. Same question reformulated: I am seeking to reproduce BifurcationKit: Duffing Equation: Time-Harmonic: Singl…

---

## [KNITRO.jl and Complementarity Constraints](https://discourse.julialang.org/t/knitro-jl-and-complementarity-constraints/124090)

<div class="topic-metadata">

**Author:** [@daro.slai](https://discourse.julialang.org/u/daro.slai)\
**Replies:** 3\
**Last updated:** [January 15, 2025, 11:39am UTC](https://discourse.julialang.org/t/knitro-jl-and-complementarity-constraints/124090 "2025-01-15T11:39:50Z")

</div>

Hi, I’m modeling a system with complementarity constraints.Namely, a flow S has a negative S^- and positive S^+ component: S=S^+ - S^- 0 \\leq S^+ 0 \\leq S^- and of course complementary to each other: S^+ \\perp S^…

---

## [Unable to reproduce a simple bifurcation diagram](https://discourse.julialang.org/t/unable-to-reproduce-a-simple-bifurcation-diagram/124738)

<div class="topic-metadata">

**Author:** [@vembha](https://discourse.julialang.org/u/vembha)\
**Replies:** 8\
**Last updated:** [January 15, 2025, 6:37am UTC](https://discourse.julialang.org/t/unable-to-reproduce-a-simple-bifurcation-diagram/124738 "2025-01-15T06:37:56Z")

</div>

Hello, New to BifurcationKit.jl here! I have a simple ODE-based model from an article (Fig. 2A in https://www.pnas.org/doi/10.1073/pnas.1419162112), which is known to have three bifurcation points when varied over a par…

---

## [Privacy and storage with file uploads using Genie/Stipple](https://discourse.julialang.org/t/privacy-and-storage-with-file-uploads-using-genie-stipple/124743)

<div class="topic-metadata">

**Author:** [@TheHedgehog2000](https://discourse.julialang.org/u/TheHedgehog2000)\
**Replies:** 1\
**Last updated:** [January 15, 2025, 12:26am UTC](https://discourse.julialang.org/t/privacy-and-storage-with-file-uploads-using-genie-stipple/124743 "2025-01-15T00:26:43Z")

</div>

Apologies if this is a trivial question, I am new to web development. I am following this link to a minimal app which allows a user to upload .csv files and analyze them: App with CSV uploader - Genie. In this app, all u…

---

## [How to train a biobjective problem with SDDP.jl?](https://discourse.julialang.org/t/how-to-train-a-biobjective-problem-with-sddp-jl/123590)

<div class="topic-metadata">

**Author:** [@z\_yt\_Yt](https://discourse.julialang.org/u/z_yt_Yt)\
**Replies:** 10\
**Last updated:** [January 14, 2025, 11:49pm UTC](https://discourse.julialang.org/t/how-to-train-a-biobjective-problem-with-sddp-jl/123590 "2025-01-14T23:49:08Z")

</div>

Hello, I am trying to run this SDDP.jl/papers/biobjective\_sddp/BiObjectiveSDDP.jl at master · odow/SDDP.jl · GitHub and also other files in this folder SDDP.jl/papers/biobjective\_sddp at master · odow/SDDP.jl · GitHub. …

---

## [Makie.jl Series Plot Color Cycling with Observable Legends](https://discourse.julialang.org/t/makie-jl-series-plot-color-cycling-with-observable-legends/114599)

<div class="topic-metadata">

**Author:** [@matthew3245](https://discourse.julialang.org/u/matthew3245)\
**Replies:** 1\
**Last updated:** [January 14, 2025, 11:42pm UTC](https://discourse.julialang.org/t/makie-jl-series-plot-color-cycling-with-observable-legends/114599 "2025-01-14T23:42:54Z")

</div>

My goal is to plot a series of data and have their legends be observable so I can change them later. This works already using series! using the labels keyword argument set to a vector of observables. However, when I add …

---

## [Makie : Update plot legend through Observables](https://discourse.julialang.org/t/makie-update-plot-legend-through-observables/86786)

<div class="topic-metadata">

**Author:** [@dgs](https://discourse.julialang.org/u/dgs)\
**Replies:** 11\
**Last updated:** [January 14, 2025, 11:32pm UTC](https://discourse.julialang.org/t/makie-update-plot-legend-through-observables/86786 "2025-01-14T23:32:13Z")

</div>

Hello, I am trying to a basic app with GLMakie with some user input. The (scatter) plot nicely updates with a slider which basically selects which dots to plots but I can’t seem to find a way to update the legend (thro…

---

## [Planing on building an ETL Framework](https://discourse.julialang.org/t/planing-on-building-an-etl-framework/124747)

<div class="topic-metadata">

**Author:** [@th0rben](https://discourse.julialang.org/u/th0rben)\
**Replies:** 2\
**Last updated:** [January 14, 2025, 7:56pm UTC](https://discourse.julialang.org/t/planing-on-building-an-etl-framework/124747 "2025-01-14T19:56:27Z")

</div>

I am planing to build a package for ETL processes as my Bachelor thesis. My plan is to to have the package be a simple way to build data pipelines following ETL. Having a simple way to load the data from different sourc…

---

## [Minimizing a nonlinear user function](https://discourse.julialang.org/t/minimizing-a-nonlinear-user-function/124772)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 1\
**Last updated:** [January 14, 2025, 7:32pm UTC](https://discourse.julialang.org/t/minimizing-a-nonlinear-user-function/124772 "2025-01-14T19:32:25Z")

</div>

I would like to know if and how the problem discussed Here can be solved using JuMP’s “powerfull means” This is the problem of day 24 of the advent of code 2024. You are asked to “fix” a 45-bit full-adder that has 4 p…

---

## [Need a working example to use Gurobi for multi objective](https://discourse.julialang.org/t/need-a-working-example-to-use-gurobi-for-multi-objective/124760)

<div class="topic-metadata">

**Author:** [@manoj.centura](https://discourse.julialang.org/u/manoj.centura)\
**Replies:** 2\
**Last updated:** [January 14, 2025, 7:29pm UTC](https://discourse.julialang.org/t/need-a-working-example-to-use-gurobi-for-multi-objective/124760 "2025-01-14T19:29:26Z")

</div>

Hi Everyone, can some one provide working example for Gurobi Multi objective. Thanks in advance

---

## [Advice speeding up a turing model](https://discourse.julialang.org/t/advice-speeding-up-a-turing-model/124741)

<div class="topic-metadata">

**Author:** [@jacques1](https://discourse.julialang.org/u/jacques1)\
**Replies:** 7\
**Last updated:** [January 14, 2025, 7:20pm UTC](https://discourse.julialang.org/t/advice-speeding-up-a-turing-model/124741 "2025-01-14T19:20:49Z")

</div>

I have a model in Turing which is exceptionally slow and am hoping for some help speeding it up. I am new to Turing so any pointers are helpful. My model is @model function many\_linreg(X, y; predictors=size(X, 2)) …

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

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