# Specific Domains

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

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

**Page:** 49

---

## [With ParallelStencil, is it possible to launch multiple kernels and sync later?](https://discourse.julialang.org/t/with-parallelstencil-is-it-possible-to-launch-multiple-kernels-and-sync-later/127843)

<div class="topic-metadata">

**Author:** [@pchaubal](https://discourse.julialang.org/u/pchaubal)\
**Replies:** 7\
**Last updated:** [April 9, 2025, 12:04pm UTC](https://discourse.julialang.org/t/with-parallelstencil-is-it-possible-to-launch-multiple-kernels-and-sync-later/127843 "2025-04-09T12:04:40Z")

</div>

I have written a code to run on GPUs with ParallelStencil but I don’t see a significant speedup by moving to GPUs. I am not sure whether I am using the framework as intended and there exists an easy fix for this. So, any…

---

## [Comma in a query HTTP.jl](https://discourse.julialang.org/t/comma-in-a-query-http-jl/127852)

<div class="topic-metadata">

**Author:** [@gltchr](https://discourse.julialang.org/u/gltchr)\
**Replies:** 3\
**Last updated:** [April 8, 2025, 9:18pm UTC](https://discourse.julialang.org/t/comma-in-a-query-http-jl/127852 "2025-04-08T21:18:14Z")

</div>

Spoiler: This is my first time doing any sort of web-interfacing, so might be something obvious. Problem: Hard-typing the query into a request works, while using the query=\["variables"=\>"var1,var2"\] or query=\["variable…

---

## [How to represent delay between actions in SDDP?](https://discourse.julialang.org/t/how-to-represent-delay-between-actions-in-sddp/127824)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 3\
**Last updated:** [April 8, 2025, 8:33pm UTC](https://discourse.julialang.org/t/how-to-represent-delay-between-actions-in-sddp/127824 "2025-04-08T20:33:28Z")

</div>

Hi all. I am interested in building an SDDP.jl model where I want to incorporate some sort of minimum delay between consecutive actions. If I was doing a standard MILP, I would say something like, I have a decision vari…

---

## [Change state of a GLMakie toggle programmatically](https://discourse.julialang.org/t/change-state-of-a-glmakie-toggle-programmatically/127860)

<div class="topic-metadata">

**Author:** [@lgmendes](https://discourse.julialang.org/u/lgmendes)\
**Replies:** 0\
**Last updated:** [April 8, 2025, 5:22pm UTC](https://discourse.julialang.org/t/change-state-of-a-glmakie-toggle-programmatically/127860 "2025-04-08T17:22:27Z")

</div>

How can I change the state of a GLMakie toggle programmatically and ensure it is reflected in the figure? I have access to the state of the toggle vector and want to restore the toggles programmatically with proper refl…

---

## [What is the status of ReinforcementLearning.jl](https://discourse.julialang.org/t/what-is-the-status-of-reinforcementlearning-jl/126326)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 24\
**Last updated:** [April 8, 2025, 2:25pm UTC](https://discourse.julialang.org/t/what-is-the-status-of-reinforcementlearning-jl/126326 "2025-04-08T14:25:04Z")

</div>

Hi All, I would like to ask, what is the status of ReinforcementLearning.jl? Specifically, if there is any active community around and it is therefore worth to learn it, use it, and fix the bugs. To an outside observer…

---

## [Using Catalyst and Symbolics/ModelingToolkit together](https://discourse.julialang.org/t/using-catalyst-and-symbolics-modelingtoolkit-together/127601)

<div class="topic-metadata">

**Author:** [@Menno](https://discourse.julialang.org/u/Menno)\
**Replies:** 7\
**Last updated:** [April 8, 2025, 1:00pm UTC](https://discourse.julialang.org/t/using-catalyst-and-symbolics-modelingtoolkit-together/127601 "2025-04-08T13:00:21Z")

</div>

Hi there! I have been very impressed by Catalyst and using it to solve (stochastic) differential equations, but have been having trouble using the generated equations for other tasks. More specifically, I have been tryin…

---

## [Debugging non-finite Jacobian elements (w/ ForwardDiff)](https://discourse.julialang.org/t/debugging-non-finite-jacobian-elements-w-forwarddiff/127448)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 4\
**Last updated:** [April 8, 2025, 12:02pm UTC](https://discourse.julialang.org/t/debugging-non-finite-jacobian-elements-w-forwarddiff/127448 "2025-04-08T12:02:04Z")

</div>

I have a rather complex calculation that maps a vector of floats to a longer vector of floats. At some inputs, ForwardDiff gives me a Jacobian where some elements are NaN. Inputs are of course finite, and so is the func…

---

## [Is there a way to load only a part of a dataset in a JLD2 file?](https://discourse.julialang.org/t/is-there-a-way-to-load-only-a-part-of-a-dataset-in-a-jld2-file/127835)

<div class="topic-metadata">

**Author:** [@kockahonza](https://discourse.julialang.org/u/kockahonza)\
**Replies:** 3\
**Last updated:** [April 8, 2025, 11:34am UTC](https://discourse.julialang.org/t/is-there-a-way-to-load-only-a-part-of-a-dataset-in-a-jld2-file/127835 "2025-04-08T11:34:51Z")

</div>

Hi, the question is pretty much the title. I’ve ran a largeish computation on a cluster with lots of ram so it can fit its results (the largest of which is a 8 dimensional array of vectors of vectors which is probably no…

---

## [Get the constraints matrix from a SDP relaxation](https://discourse.julialang.org/t/get-the-constraints-matrix-from-a-sdp-relaxation/127222)

<div class="topic-metadata">

**Author:** [@gustave\_Robichon](https://discourse.julialang.org/u/gustave_Robichon)\
**Replies:** 6\
**Last updated:** [April 8, 2025, 9:40am UTC](https://discourse.julialang.org/t/get-the-constraints-matrix-from-a-sdp-relaxation/127222 "2025-04-08T09:40:51Z")

</div>

hello everyone :slight\_smile: I am using Julia, and I am programming some SDP. For this, I use JuMP to prepare the problem, then Hypatia to solve it. But, after the constraints are cleaned (by Hypatia), I would like to …

---

## [\`JuMP\` macros with \`RuntimeGeneratedFunctions\`](https://discourse.julialang.org/t/jump-macros-with-runtimegeneratedfunctions/127815)

<div class="topic-metadata">

**Author:** [@sstroemer](https://discourse.julialang.org/u/sstroemer)\
**Replies:** 1\
**Last updated:** [April 7, 2025, 10:36pm UTC](https://discourse.julialang.org/t/jump-macros-with-runtimegeneratedfunctions/127815 "2025-04-07T22:36:01Z")

</div>

The following MWE import JuMP, RuntimeGeneratedFunctions RuntimeGeneratedFunctions.init(@\_\_MODULE\_\_) code = """ model = JuMP.owner\_model(x\[1\]) JuMP.@constraint(model, \[t = 1:10\], x\[t\] \>= 0) """ code\_ex = Meta.parse(…

---

## [Shift label coordinates in GMT](https://discourse.julialang.org/t/shift-label-coordinates-in-gmt/127818)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 1\
**Last updated:** [April 7, 2025, 9:26pm UTC](https://discourse.julialang.org/t/shift-label-coordinates-in-gmt/127818 "2025-04-07T21:26:39Z")

</div>

Dear all, I have the code in GMT: using GMT pts\_europa =\[ 3.1420 48.9447 2.3522 48.8566 -0.1278 51.5074 -3.7038 40.4168 4.8357 45.7640 4.3517 50.8503 19.0402 47.4979 12.4964 41.8719 18.0683 59.…

---

## [SciML to solve compound interest equation](https://discourse.julialang.org/t/sciml-to-solve-compound-interest-equation/106387)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 5\
**Last updated:** [April 7, 2025, 5:15pm UTC](https://discourse.julialang.org/t/sciml-to-solve-compound-interest-equation/106387 "2025-04-07T17:15:17Z")

</div>

I just went through the SciML tutorials and now am trying to apply them by building a calculator for solving the compound interest equation. I have two working implementations, but neither seems very convenient. What is …

---

## [Symbolics + Gröbner basis](https://discourse.julialang.org/t/symbolics-grobner-basis/127706)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 24\
**Last updated:** [April 7, 2025, 1:15pm UTC](https://discourse.julialang.org/t/symbolics-grobner-basis/127706 "2025-04-07T13:15:20Z")

</div>

I’m trying to find the roots of some multivariable polynomials with parameters. Just to illustrate the problem, suppose I have 2 equations, say: 0 = x^2y + 2xy - a \\\\ 0 = xy - xy^3 So I try to do the following: using…

---

## [Parsing lens for codim2 bifurcation](https://discourse.julialang.org/t/parsing-lens-for-codim2-bifurcation/127710)

<div class="topic-metadata">

**Author:** [@iclo3](https://discourse.julialang.org/u/iclo3)\
**Replies:** 6\
**Last updated:** [April 7, 2025, 12:42pm UTC](https://discourse.julialang.org/t/parsing-lens-for-codim2-bifurcation/127710 "2025-04-07T12:42:02Z")

</div>

Hi, I’m trying to perform a codimension2 continuation of a SN point, but I’m runnning into errors with parsing lens. I’ve continued the initial equilibrium solution for parameter A1, found some bifurcation points. Now I …

---

## [Estimate the relation of parameter to state variable with uncertainty quantification](https://discourse.julialang.org/t/estimate-the-relation-of-parameter-to-state-variable-with-uncertainty-quantification/127450)

<div class="topic-metadata">

**Author:** [@Jack\_cooper](https://discourse.julialang.org/u/Jack_cooper)\
**Replies:** 3\
**Last updated:** [April 7, 2025, 8:48am UTC](https://discourse.julialang.org/t/estimate-the-relation-of-parameter-to-state-variable-with-uncertainty-quantification/127450 "2025-04-07T08:48:05Z")

</div>

Hi, I am new to the SciML ecosystem, and I apologise if my question is too basic. I have a 1D differential equation system, dx/dt = f(x; p), where the parameter p is a function of the state variable. Given data for the s…

---

## [\[ANN\] GeoIDs.jl: a package to create a postgres/postgis database of TIGER county boundaries](https://discourse.julialang.org/t/ann-geoids-jl-a-package-to-create-a-postgres-postgis-database-of-tiger-county-boundaries/127778)

<div class="topic-metadata">

**Author:** [@technocrat](https://discourse.julialang.org/u/technocrat)\
**Replies:** 3\
**Last updated:** [April 7, 2025, 10:40am UTC](https://discourse.julialang.org/t/ann-geoids-jl-a-package-to-create-a-postgres-postgis-database-of-tiger-county-boundaries/127778 "2025-04-07T10:40:40Z")

</div>

GeoIDs.jl provides a comprehensive solution for working with Census GEOID identifiers, particularly at the county level. The package enables you to: Create and Manage Geographic Area Sets: Define sets of counties for …

---

## [Is there a way to dynamically add/remove of reactions from ReactionSystem in catalyst](https://discourse.julialang.org/t/is-there-a-way-to-dynamically-add-remove-of-reactions-from-reactionsystem-in-catalyst/127411)

<div class="topic-metadata">

**Author:** [@atiyabzafar](https://discourse.julialang.org/u/atiyabzafar)\
**Replies:** 3\
**Last updated:** [April 7, 2025, 7:22am UTC](https://discourse.julialang.org/t/is-there-a-way-to-dynamically-add-remove-of-reactions-from-reactionsystem-in-catalyst/127411 "2025-04-07T07:22:05Z")

</div>

Hi I am trying to figure out a way to dynamically add/remove reactions once I have defined a ReactionSystem programmatically. Suppose I define the system using this function. function generate\_creation(n,MAT) # Cre…

---

## [Adding lazy cuts to an LP using JuMP.@build\_constraint](https://discourse.julialang.org/t/adding-lazy-cuts-to-an-lp-using-jump-build-constraint/127764)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 3\
**Last updated:** [April 7, 2025, 6:43am UTC](https://discourse.julialang.org/t/adding-lazy-cuts-to-an-lp-using-jump-build-constraint/127764 "2025-04-07T06:43:58Z")

</div>

As the title suggests, I create a structure (the begin-end block) and wrote a procedure (while-end). import JuMP, Gurobi; GRB\_ENV = Gurobi.Env(); COT = 1e-7 # cut-off tolerance model = JuMP.direct\_model(Gurobi.Optimize…

---

## [Connecting points in VegaDatasets](https://discourse.julialang.org/t/connecting-points-in-vegadatasets/127773)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 1\
**Last updated:** [April 6, 2025, 11:20pm UTC](https://discourse.julialang.org/t/connecting-points-in-vegadatasets/127773 "2025-04-06T23:20:29Z")

</div>

Hello users, I have the following code, works perfectly: \*\* world110m = dataset("world-110m") # canvas canvas = @vlplot( width = 640, height = 360, title = "Big cities in the world", projection = {typ…

---

## [Enzyme AD with matrix exponential](https://discourse.julialang.org/t/enzyme-ad-with-matrix-exponential/123094)

<div class="topic-metadata">

**Author:** [@stone44](https://discourse.julialang.org/u/stone44)\
**Replies:** 22\
**Last updated:** [April 6, 2025, 10:43pm UTC](https://discourse.julialang.org/t/enzyme-ad-with-matrix-exponential/123094 "2025-04-06T22:43:00Z")

</div>

Hey, I am currently trying to use Enzyme’s gradient function to get the gradient of a quantum mechanical expectation value in respect to some parameters which go into the Hamiltonian. What causes a problem? AD with Enz…

---

## [Interactive Data Table in Pluto.jl (via a silly hack)](https://discourse.julialang.org/t/interactive-data-table-in-pluto-jl-via-a-silly-hack/44678)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 41\
**Last updated:** [April 6, 2025, 7:27pm UTC](https://discourse.julialang.org/t/interactive-data-table-in-pluto-jl-via-a-silly-hack/44678 "2025-04-06T19:27:24Z")

</div>

@fonsp This is meant to be more fun than anything serious - I came up with a nice little hack for creating interactive data tables in my Pluto notebooks :slightly\_smiling\_face: After wrangling a .csv file into a Dict wi…

---

## [Best library for calculating slope in an elevation raster?](https://discourse.julialang.org/t/best-library-for-calculating-slope-in-an-elevation-raster/114154)

<div class="topic-metadata">

**Author:** [@rholland4julia](https://discourse.julialang.org/u/rholland4julia)\
**Replies:** 13\
**Last updated:** [April 6, 2025, 4:14pm UTC](https://discourse.julialang.org/t/best-library-for-calculating-slope-in-an-elevation-raster/114154 "2025-04-06T16:14:46Z")

</div>

I am trying to calculate the slope from a large number of DEM rasters. It seems like Geomorphometry.jl has an implementation of the Horn (1981) method, but are there other library options?

---

## [Data from Brazil states (and generic region) using VegaDatasets](https://discourse.julialang.org/t/data-from-brazil-states-and-generic-region-using-vegadatasets/127761)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 3\
**Last updated:** [April 6, 2025, 3:19pm UTC](https://discourse.julialang.org/t/data-from-brazil-states-and-generic-region-using-vegadatasets/127761 "2025-04-06T15:19:13Z")

</div>

Dear all, I have the following code that draws the US map with its states: using VegaLite, VegaDatasets # load JSON file containing map of US us10m = dataset("us-10m") # 1. US Map by State # how to generate plot p …

---

## [How to use Downloads.download() with SFTP?](https://discourse.julialang.org/t/how-to-use-downloads-download-with-sftp/76480)

<div class="topic-metadata">

**Author:** [@Fred](https://discourse.julialang.org/u/Fred)\
**Replies:** 17\
**Last updated:** [April 6, 2025, 1:47pm UTC](https://discourse.julialang.org/t/how-to-use-downloads-download-with-sftp/76480 "2025-04-06T13:47:31Z")

</div>

Hi, Is it possible to do SFTP with Julia ? I use filezilla to download files on a remote computer but I do not manage to access it with Julia. Is there something wrong in the URL format ? Thanks for your reply ! using…

---

## [JuMP: print constraint evaluated with start\_values of variables](https://discourse.julialang.org/t/jump-print-constraint-evaluated-with-start-values-of-variables/127752)

<div class="topic-metadata">

**Author:** [@lamont](https://discourse.julialang.org/u/lamont)\
**Replies:** 3\
**Last updated:** [April 6, 2025, 7:55am UTC](https://discourse.julialang.org/t/jump-print-constraint-evaluated-with-start-values-of-variables/127752 "2025-04-06T07:55:18Z")

</div>

I’ve got a moderately complicated model that I’m trying to display the infeasibility of the start point via code that looks like: @constraint(model, dyn1, 0 == X1 - Ba \* V1 - Xa1 .\* ones(N)) @constraint(model, d…

---

## [About JuMP.is\_solved\_and\_feasible](https://discourse.julialang.org/t/about-jump-is-solved-and-feasible/126868)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 27\
**Last updated:** [April 6, 2025, 1:48am UTC](https://discourse.julialang.org/t/about-jump-is-solved-and-feasible/126868 "2025-04-06T01:48:09Z")

</div>

According to my experience in global optimization, I only encounter these situations so far. # ✅ The foremost indispensable querying functions are \`JuMP.value\` and \`JuMP.objective\_bound\` # Theoretically, \`JuMP.objectiv…

---

## [How do I color the plotting plan above/under a line in different colors?](https://discourse.julialang.org/t/how-do-i-color-the-plotting-plan-above-under-a-line-in-different-colors/127751)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 1\
**Last updated:** [April 5, 2025, 9:08pm UTC](https://discourse.julialang.org/t/how-do-i-color-the-plotting-plan-above-under-a-line-in-different-colors/127751 "2025-04-05T21:08:06Z")

</div>

Say that I have defined a line: using Plots x\_vals = 1:10 y\_vals = sqrt.(x\_vals) plot(x\_vals, y\_vals) Is there a way that I can color the plot plane, so that the area below the line have one color and the are below …

---

## [Can I build an expression on dual variables and then query with JuMP.dual?](https://discourse.julialang.org/t/can-i-build-an-expression-on-dual-variables-and-then-query-with-jump-dual/127734)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 3\
**Last updated:** [April 5, 2025, 8:53pm UTC](https://discourse.julialang.org/t/can-i-build-an-expression-on-dual-variables-and-then-query-with-jump-dual/127734 "2025-04-05T20:53:14Z")

</div>

Consider this simple example import JuMP, Gurobi model = JuMP.Model(Gurobi.Optimizer) JuMP.@variable(model, x\[1:3\]) JuMP.@constraint(model, c1, x .\<= 2) JuMP.@constraint(model, c2, x .\>= -2) JuMP.@objective(model, Min, …

---

## [Automatic Differentiation of quantum master equation using Zygote](https://discourse.julialang.org/t/automatic-differentiation-of-quantum-master-equation-using-zygote/127715)

<div class="topic-metadata">

**Author:** [@albertomercurio](https://discourse.julialang.org/u/albertomercurio)\
**Replies:** 14\
**Last updated:** [April 5, 2025, 7:14pm UTC](https://discourse.julialang.org/t/automatic-differentiation-of-quantum-master-equation-using-zygote/127715 "2025-04-05T19:14:43Z")

</div>

Hello, I need to differentiate a quantum master equation over a parameter, using QuantumToolbox.jl. Under the hood it is simply an Ordinary Differential Equation involving SciMLOperators. I’m able to differentiate the …

---

## [Custom Optimisers and Projections in Flux/Zygote: Is There a Canonical Way?](https://discourse.julialang.org/t/custom-optimisers-and-projections-in-flux-zygote-is-there-a-canonical-way/127749)

<div class="topic-metadata">

**Author:** [@anscoil](https://discourse.julialang.org/u/anscoil)\
**Replies:** 1\
**Last updated:** [April 5, 2025, 6:42pm UTC](https://discourse.julialang.org/t/custom-optimisers-and-projections-in-flux-zygote-is-there-a-canonical-way/127749 "2025-04-05T18:42:59Z")

</div>

Hi everyone, After spending quite some time solving inverse problems in optics with custom tools and manual algorithmic differentiation, I’ve recently been exploring more canonical approaches using modern ML frameworks. …

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

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