# Specific Domains

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

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

**Page:** 196

---

## [Out of memory when constructing large sparse SDP in JuMP](https://discourse.julialang.org/t/out-of-memory-when-constructing-large-sparse-sdp-in-jump/98332)

<div class="topic-metadata">

**Author:** [@mattgiamou](https://discourse.julialang.org/u/mattgiamou)\
**Replies:** 2\
**Last updated:** [May 9, 2023, 8:17am UTC](https://discourse.julialang.org/t/out-of-memory-when-constructing-large-sparse-sdp-in-jump/98332 "2023-05-09T08:17:29Z")

</div>

I need to solve large but very sparse SDPs with COSMO.jl. The following code runs out of memory while constructing the linear matrix inequality (i.e., the PSD constraint): using JuMP, COSMO using LinearAlgebra using Spa…

---

## [What does the "maxiters" solver option do?](https://discourse.julialang.org/t/what-does-the-maxiters-solver-option-do/37376)

<div class="topic-metadata">

**Author:** [@donkeysaddle](https://discourse.julialang.org/u/donkeysaddle)\
**Replies:** 19\
**Last updated:** [May 9, 2023, 8:26am UTC](https://discourse.julialang.org/t/what-does-the-maxiters-solver-option-do/37376 "2023-05-09T08:26:45Z")

</div>

New to Numerical Analysis, so please excuse the rookie question and forgive me if this has been discussed somewhere else, I couldn’t find it. According to the documentation: maxiters : Maximum number of iterations be…

---

## [OpenSSL v3 Support Released](https://discourse.julialang.org/t/openssl-v3-support-released/97710)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 4\
**Last updated:** [May 9, 2023, 1:06am UTC](https://discourse.julialang.org/t/openssl-v3-support-released/97710 "2023-05-09T01:06:50Z")

</div>

I recently introduced OpenSSL\_jll v3.0.8. Before doing so, we added a version cap to existing packages that use OpenSSL. Support in OpenSSL.jl for OpenSSL v3 is now under review. Support for OpenSSL v1.1 is maintained …

---

## [Pi (Π) operation in the objective function JuMP](https://discourse.julialang.org/t/pi-operation-in-the-objective-function-jump/97509)

<div class="topic-metadata">

**Author:** [@Shayan](https://discourse.julialang.org/u/Shayan)\
**Replies:** 19\
**Last updated:** [May 8, 2023, 11:55pm UTC](https://discourse.julialang.org/t/pi-operation-in-the-objective-function-jump/97509 "2023-05-08T23:55:42Z")

</div>

I want to solve a quadratic programming problem with JuMP. I don’t know if Ipopt can solve it or not. I’m using HiGHS (Although I prefer Ipopt if it’s possible). Here is the model: \\eqalign{ & \\max z = \\prod\\limits\_{…

---

## [Using literal 1.0 in JuMP @constraint throws an error](https://discourse.julialang.org/t/using-literal-1-0-in-jump-constraint-throws-an-error/98496)

<div class="topic-metadata">

**Author:** [@gmsowers](https://discourse.julialang.org/u/gmsowers)\
**Replies:** 2\
**Last updated:** [May 8, 2023, 9:58pm UTC](https://discourse.julialang.org/t/using-literal-1-0-in-jump-constraint-throws-an-error/98496 "2023-05-08T21:58:00Z")

</div>

The following code throws an error: using JuMP m = Model() @variable(m, x) y = Vector{Any}(undef, 2) y\[1\] = @variable(m, base\_name=“y1”) y\[2\] = 1.0 @constraint(m, sum(\[x \* yi for yi in y\]) == 1.0) ERROR: MethodError:…

---

## [Help with GAMS.jl "unrecognized operation" error](https://discourse.julialang.org/t/help-with-gams-jl-unrecognized-operation-error/98498)

<div class="topic-metadata">

**Author:** [@Huan\_Deng](https://discourse.julialang.org/u/Huan_Deng)\
**Replies:** 4\
**Last updated:** [May 8, 2023, 9:26pm UTC](https://discourse.julialang.org/t/help-with-gams-jl-unrecognized-operation-error/98498 "2023-05-08T21:26:56Z")

</div>

Hi, I am trying to use GAMS to solve a constrained optimization problem. My own problem is quite complicated, and I must use user-defined functions for both the objective and constraints. Below is a reproducible, simple…

---

## [Help with multi-objective, non-linear JuMP problem](https://discourse.julialang.org/t/help-with-multi-objective-non-linear-jump-problem/98487)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 4\
**Last updated:** [May 8, 2023, 9:13pm UTC](https://discourse.julialang.org/t/help-with-multi-objective-non-linear-jump-problem/98487 "2023-05-08T21:13:29Z")

</div>

This single objective version below works just fine: using JuMP using Ipopt S, L, U = 1000, 15, 40 N = 54 r = rand(54, 2) model = Model(Ipopt.Optimizer) @variable(model, s\[i=1:N\], start=14) @NLexpression…

---

## [Disabling zoom events for PlotlyJS backend for Plots.jl](https://discourse.julialang.org/t/disabling-zoom-events-for-plotlyjs-backend-for-plots-jl/97340)

<div class="topic-metadata">

**Author:** [@viperML](https://discourse.julialang.org/u/viperML)\
**Replies:** 2\
**Last updated:** [May 8, 2023, 3:42pm UTC](https://discourse.julialang.org/t/disabling-zoom-events-for-plotlyjs-backend-for-plots-jl/97340 "2023-05-08T15:42:07Z")

</div>

Hello :wave: I would like to disable zoom events for my interactive plot. Apparently you can do this with plotly.js by setting this layout option: Disable zoom events in JavaScript xaxis: {fixedrange: true} Is it poss…

---

## [Writing a neural network training code with ADAM optimizer](https://discourse.julialang.org/t/writing-a-neural-network-training-code-with-adam-optimizer/98472)

<div class="topic-metadata">

**Author:** [@Vahagn](https://discourse.julialang.org/u/Vahagn)\
**Replies:** 1\
**Last updated:** [May 8, 2023, 2:00pm UTC](https://discourse.julialang.org/t/writing-a-neural-network-training-code-with-adam-optimizer/98472 "2023-05-08T14:00:20Z")

</div>

I have a code for my DSGE model and I want to find decision functions using neural networks, namely using deep learning with ADAM optimizer. I read the quick start example in Flux, but I, unfortunately, I don’t know how …

---

## [Kernel density estimation status](https://discourse.julialang.org/t/kernel-density-estimation-status/5928)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 30\
**Last updated:** [May 7, 2023, 6:42pm UTC](https://discourse.julialang.org/t/kernel-density-estimation-status/5928 "2023-05-07T18:42:46Z")

</div>

What is the de facto standard package for KDE in Julia? KernelDensity.jl KernelDensityEstimate.jl KernelEstimator.jl My attempts with the packages listed above were not very successful.

---

## [Writing a Hdf5 attribute as an ascii string in HDF5.jl](https://discourse.julialang.org/t/writing-a-hdf5-attribute-as-an-ascii-string-in-hdf5-jl/98450)

<div class="topic-metadata">

**Author:** [@lucasbanting](https://discourse.julialang.org/u/lucasbanting)\
**Replies:** 0\
**Last updated:** [May 7, 2023, 10:02pm UTC](https://discourse.julialang.org/t/writing-a-hdf5-attribute-as-an-ascii-string-in-hdf5-jl/98450 "2023-05-07T22:02:49Z")

</div>

How can I write out an hdf5 group attribute as an ascii string instead of utf-8?

---

## [Probabilistic forecasting for spatio-temporal raster data](https://discourse.julialang.org/t/probabilistic-forecasting-for-spatio-temporal-raster-data/98436)

<div class="topic-metadata">

**Author:** [@microlifecc](https://discourse.julialang.org/u/microlifecc)\
**Replies:** 2\
**Last updated:** [May 7, 2023, 6:44pm UTC](https://discourse.julialang.org/t/probabilistic-forecasting-for-spatio-temporal-raster-data/98436 "2023-05-07T18:44:19Z")

</div>

We have a time series gridded/ratser panel dataset (spatio-temporal). The dataset is in 3D, where each ((x, y, t), where x and y ranges from 1-25 while t ranges from 1-1800 though we’re trying to predict just the next ti…

---

## [How to find out the version of NetworkLayout.jl that worked for particular trees](https://discourse.julialang.org/t/how-to-find-out-the-version-of-networklayout-jl-that-worked-for-particular-trees/98438)

<div class="topic-metadata">

**Author:** [@empet](https://discourse.julialang.org/u/empet)\
**Replies:** 2\
**Last updated:** [May 7, 2023, 4:25pm UTC](https://discourse.julialang.org/t/how-to-find-out-the-version-of-networklayout-jl-that-worked-for-particular-trees/98438 "2023-05-07T16:25:37Z")

</div>

Late in september 2021, NetworkLayout.buchheim worked even with a non tree network. More precisely, it assigned coordinates to the nodes of an “almost” rooted tree, in the sense that a node could have two parents (exampl…

---

## [How to render a cylinder?](https://discourse.julialang.org/t/how-to-render-a-cylinder/98063)

<div class="topic-metadata">

**Author:** [@cdelv](https://discourse.julialang.org/u/cdelv)\
**Replies:** 15\
**Last updated:** [May 7, 2023, 4:28am UTC](https://discourse.julialang.org/t/how-to-render-a-cylinder/98063 "2023-05-07T04:28:14Z")

</div>

Hi everyone, I want to plot a cylinder centered at point p, radius r, and aligned with an axis vector. For now, I have this code: using GLMakie r = 5 h = 3 m, n =200, 150 u = range(0, 2pi, length=n) v = range(0, h, len…

---

## [Understanding Symbolic Regression?](https://discourse.julialang.org/t/understanding-symbolic-regression/93587)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 3\
**Last updated:** [May 7, 2023, 12:43am UTC](https://discourse.julialang.org/t/understanding-symbolic-regression/93587 "2023-05-07T00:43:33Z")

</div>

I’m trying to understand how to use the SymbolicRegression package in Julia. I’ve read through the thesis by Minnebo and Stijven from 2011 (referenced in Wikipedia), where they talk about “operators” vs. “terminals”. In…

---

## [Julia response to Auto-GPT](https://discourse.julialang.org/t/julia-response-to-auto-gpt/98229)

<div class="topic-metadata">

**Author:** [@alex-s-gardner](https://discourse.julialang.org/u/alex-s-gardner)\
**Replies:** 2\
**Last updated:** [May 6, 2023, 7:44pm UTC](https://discourse.julialang.org/t/julia-response-to-auto-gpt/98229 "2023-05-06T19:44:28Z")

</div>

Now that we have a wrapper for the openAI API it would be pretty cool to have an Auto-GPT like package that the julia community could contribute to. It’s pretty amazing how simply having the LLM talk to itself(s) can gre…

---

## [Using NeuralPDE for prediction?](https://discourse.julialang.org/t/using-neuralpde-for-prediction/98359)

<div class="topic-metadata">

**Author:** [@vineetjnair9](https://discourse.julialang.org/u/vineetjnair9)\
**Replies:** 2\
**Last updated:** [May 6, 2023, 4:01am UTC](https://discourse.julialang.org/t/using-neuralpde-for-prediction/98359 "2023-05-06T04:01:47Z")

</div>

Hi, I’m pretty new to Julia ML and I’m trying to use NeuralPDE.jl to solve a system of ODEs. I’m following this tutorial and am able to get a pretty good fit close to the true solution. But is there a way I can use the p…

---

## [SDDP.jl: Can it model nonconvex multistage SPs?](https://discourse.julialang.org/t/sddp-jl-can-it-model-nonconvex-multistage-sps/98370)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 4\
**Last updated:** [May 6, 2023, 2:54am UTC](https://discourse.julialang.org/t/sddp-jl-can-it-model-nonconvex-multistage-sps/98370 "2023-05-06T02:54:10Z")

</div>

As the title says, I want to know if the package SDDP.jl models nonconvex multistage stochastic programs? The documentation says it works for convex multistage SPs; however, to make sure I don’t reinvent the wheel, I jus…

---

## [Define an ODE which depends on an external function with the @ode\_def macro](https://discourse.julialang.org/t/define-an-ode-which-depends-on-an-external-function-with-the-ode-def-macro/98067)

<div class="topic-metadata">

**Author:** [@atmyo4](https://discourse.julialang.org/u/atmyo4)\
**Replies:** 1\
**Last updated:** [May 6, 2023, 12:21am UTC](https://discourse.julialang.org/t/define-an-ode-which-depends-on-an-external-function-with-the-ode-def-macro/98067 "2023-05-06T00:21:28Z")

</div>

Hello! I want to solve a system of ODEs that includes a parameter that varies over time. To obtain the value of the parameter I use an external function that uses the solution of another system of ODEs that has already b…

---

## [Plots.jl xticks color modification](https://discourse.julialang.org/t/plots-jl-xticks-color-modification/74800)

<div class="topic-metadata">

**Author:** [@bienpierre](https://discourse.julialang.org/u/bienpierre)\
**Replies:** 2\
**Last updated:** [May 5, 2023, 9:41pm UTC](https://discourse.julialang.org/t/plots-jl-xticks-color-modification/74800 "2023-05-05T21:41:15Z")

</div>

Hello, Is it possible to change a specific xtick color with Plots.jl. For instance, tick 5 with red, tick 10 with yellow, etc. I tried with xtickfontcolor and all ticks are red. using Plots plot(1:20, randn(20); size(4…

---

## [Have btngroup change its content dynamically](https://discourse.julialang.org/t/have-btngroup-change-its-content-dynamically/56143)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 1\
**Last updated:** [May 5, 2023, 9:40pm UTC](https://discourse.julialang.org/t/have-btngroup-change-its-content-dynamically/56143 "2023-05-05T21:40:24Z")

</div>

How do I setup a btngroup in StippleUI to dynamically change the buttons (their functions and labels) it contains? I want the buttons to depend on some input (i.e. one of the model’s parameters)? Politely pinging @hhaen…

---

## [Distributed computing for functions in scripts inside a local module?](https://discourse.julialang.org/t/distributed-computing-for-functions-in-scripts-inside-a-local-module/96729)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 7\
**Last updated:** [May 5, 2023, 7:33pm UTC](https://discourse.julialang.org/t/distributed-computing-for-functions-in-scripts-inside-a-local-module/96729 "2023-05-05T19:33:23Z")

</div>

I have a local module, say MyProject, which has a folder src with two scripts script1.jl and script2.jl. module MyProject using Package1 using Package2 using Package3 include("script1.jl") include("script2.jl") expor…

---

## [Error code for GLPK and SigmoidalProgramming](https://discourse.julialang.org/t/error-code-for-glpk-and-sigmoidalprogramming/98043)

<div class="topic-metadata">

**Author:** [@meet.saiya](https://discourse.julialang.org/u/meet.saiya)\
**Replies:** 11\
**Last updated:** [May 5, 2023, 8:15pm UTC](https://discourse.julialang.org/t/error-code-for-glpk-and-sigmoidalprogramming/98043 "2023-05-05T20:15:01Z")

</div>

I’m trying to use Sigmoidal Programming to solve an optimization problem which is minimize (sum of concave functions) subject to linear constraints. When I input problem = LinearSP(fs, dfs, z, A, b) it seems to read and…

---

## [Strange runtime complexity of eigen(...)](https://discourse.julialang.org/t/strange-runtime-complexity-of-eigen/98392)

<div class="topic-metadata">

**Author:** [@mritter](https://discourse.julialang.org/u/mritter)\
**Replies:** 2\
**Last updated:** [May 5, 2023, 5:18pm UTC](https://discourse.julialang.org/t/strange-runtime-complexity-of-eigen/98392 "2023-05-05T17:18:16Z")

</div>

Hi everyone! I’m currently trying to look into the runtime complexity of some code which uses an eigendecomposition, and I don’t understand what I’m seeing. Reduced to an MWE, I’m doing the following: Generate a rando…

---

## [Plots.jl: how to plot a function with different values for a parameter](https://discourse.julialang.org/t/plots-jl-how-to-plot-a-function-with-different-values-for-a-parameter/52638)

<div class="topic-metadata">

**Author:** [@VivMendes](https://discourse.julialang.org/u/VivMendes)\
**Replies:** 23\
**Last updated:** [May 5, 2023, 4:50pm UTC](https://discourse.julialang.org/t/plots-jl-how-to-plot-a-function-with-different-values-for-a-parameter/52638 "2023-05-05T16:50:56Z")

</div>

Suppose I want to plot a certain function f(x) = a\*x(1-x), for x in 0:0.001:1, and to consider, i.e., four different values for parameter a: a = 1, a = 2, a = 3.2, a = 3.8. I want to do this in one single plot. I know ho…

---

## [MathOptInterface not supported by solvers](https://discourse.julialang.org/t/mathoptinterface-not-supported-by-solvers/98376)

<div class="topic-metadata">

**Author:** [@Gianmarco\_Montillo](https://discourse.julialang.org/u/Gianmarco_Montillo)\
**Replies:** 3\
**Last updated:** [May 5, 2023, 12:29pm UTC](https://discourse.julialang.org/t/mathoptinterface-not-supported-by-solvers/98376 "2023-05-05T12:29:35Z")

</div>

I am trying to solve a model using constraints of type MOI, but every solver I try out, results in a error stating Constraints of type MathOptInterface.ScalarQuadraticFunction{Float64}-in-MathOptInterface.EqualTo{Float…

---

## [Why does the execution time of overlapping GPU and CPU computations not get faster after using the Mem.pin() function?](https://discourse.julialang.org/t/why-does-the-execution-time-of-overlapping-gpu-and-cpu-computations-not-get-faster-after-using-the-mem-pin-function/98257)

<div class="topic-metadata">

**Author:** [@fred\_wu](https://discourse.julialang.org/u/fred_wu)\
**Replies:** 3\
**Last updated:** [May 5, 2023, 9:24am UTC](https://discourse.julialang.org/t/why-does-the-execution-time-of-overlapping-gpu-and-cpu-computations-not-get-faster-after-using-the-mem-pin-function/98257 "2023-05-05T09:24:53Z")

</div>

Hi, I have a question about using Mem.pin() function in GPU concurrent programming. According to my understanding, the GPU and CPU will block when copying data and cannot perform asynchronous operations. However, CPU bl…

---

## [Interactive plot data inspection with Makie (à la PlotlyJS)](https://discourse.julialang.org/t/interactive-plot-data-inspection-with-makie-a-la-plotlyjs/58095)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 17\
**Last updated:** [May 5, 2023, 7:43am UTC](https://discourse.julialang.org/t/interactive-plot-data-inspection-with-makie-a-la-plotlyjs/58095 "2023-05-05T07:43:01Z")

</div>

What’s the latest on being able to inspect data interactively in Makie? I mean something similar to what PlotlyJS has by default, where you can for example point the cursor at a point in a scatter plot and it will give y…

---

## [Chaining Custom Layers using Custom Signature](https://discourse.julialang.org/t/chaining-custom-layers-using-custom-signature/98357)

<div class="topic-metadata">

**Author:** [@Ian\_L](https://discourse.julialang.org/u/Ian_L)\
**Replies:** 1\
**Last updated:** [May 5, 2023, 6:01am UTC](https://discourse.julialang.org/t/chaining-custom-layers-using-custom-signature/98357 "2023-05-05T06:01:37Z")

</div>

Hi. Is there an idiomatic way of chaining layers in Flux when not all of the outputs of the previous layer pipe into the next layer. Unlike Flux.Chain which directly pipes all of the data, how can one create a custom lay…

---

## [Callback function in IPOP for catching inner iterations](https://discourse.julialang.org/t/callback-function-in-ipop-for-catching-inner-iterations/98246)

<div class="topic-metadata">

**Author:** [@Annaquest](https://discourse.julialang.org/u/Annaquest)\
**Replies:** 1\
**Last updated:** [May 4, 2023, 9:02pm UTC](https://discourse.julialang.org/t/callback-function-in-ipop-for-catching-inner-iterations/98246 "2023-05-04T21:02:03Z")

</div>

Hi, I am currently using a callback function to get the number of inner iterations. Firstly, I have this: set\_optimizer\_attributes(model, “mu\_target” =\> μ, “mu\_init” =\> μ); Where μ is updated outside of IPOPT ( I hav…

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

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