# Specific Domains

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

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

**Page:** 275

---

## [One objective instead of stage objective with SDDP.jl](https://discourse.julialang.org/t/one-objective-instead-of-stage-objective-with-sddp-jl/82396)

<div class="topic-metadata">

**Author:** [@chenr86](https://discourse.julialang.org/u/chenr86)\
**Replies:** 8\
**Last updated:** [June 8, 2022, 3:56am UTC](https://discourse.julialang.org/t/one-objective-instead-of-stage-objective-with-sddp-jl/82396 "2022-06-08T03:56:07Z")

</div>

Hello, I’m new to optimization problem. I find SDDP.jl closed to what I want to do. There are state variable, control variables, random variables. But with SDDP.jl, we need to define the stage objective for each node, I…

---

## ["bad line xxx of yyy.nl file" error with AmplNLWriter (but solves with Ipopt.jl)](https://discourse.julialang.org/t/bad-line-xxx-of-yyy-nl-file-error-with-amplnlwriter-but-solves-with-ipopt-jl/82372)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 3\
**Last updated:** [June 7, 2022, 9:25pm UTC](https://discourse.julialang.org/t/bad-line-xxx-of-yyy-nl-file-error-with-amplnlwriter-but-solves-with-ipopt-jl/82372 "2022-06-07T21:25:29Z")

</div>

The following code solves correctly using the Ipopt.jl Ipopt interface, but returns an error “bad line xxx of yyy.nl file” when I try to use the AmplNLWriter.jl interface (both using Ipopt and Ipopt\_jll). Other “basic” …

---

## [Documentation with interactive WGLMakie visualizations](https://discourse.julialang.org/t/documentation-with-interactive-wglmakie-visualizations/82300)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 5\
**Last updated:** [June 7, 2022, 8:03pm UTC](https://discourse.julialang.org/t/documentation-with-interactive-wglmakie-visualizations/82300 "2022-06-07T20:03:23Z")

</div>

I am trying to migrate all examples of Meshes.jl documentation to use WGLMakie.jl instead of CairoMakie.jl. When I generate the docs locally the visualizations show up and work nicely with interaction. However, on GitHub…

---

## [Read LP files](https://discourse.julialang.org/t/read-lp-files/6877)

<div class="topic-metadata">

**Author:** [@Andrey\_Stroil](https://discourse.julialang.org/u/Andrey_Stroil)\
**Replies:** 8\
**Last updated:** [June 7, 2022, 6:47pm UTC](https://discourse.julialang.org/t/read-lp-files/6877 "2022-06-07T18:47:21Z")

</div>

Hello, I have a huge stochastic optimization model and JuMP is not fast enough to deal with it. I want to write the lp model in a file and then solve it. Does JuMP have a method like read\_LP(“file.lp”)? Or is there a be…

---

## [Why the time consumed of LAPACK.potrf! increase hugely when the dimension is bigger than a special number](https://discourse.julialang.org/t/why-the-time-consumed-of-lapack-potrf-increase-hugely-when-the-dimension-is-bigger-than-a-special-number/82270)

<div class="topic-metadata">

**Author:** [@wly](https://discourse.julialang.org/u/wly)\
**Replies:** 4\
**Last updated:** [June 7, 2022, 12:51pm UTC](https://discourse.julialang.org/t/why-the-time-consumed-of-lapack-potrf-increase-hugely-when-the-dimension-is-bigger-than-a-special-number/82270 "2022-06-07T12:51:21Z")

</div>

When I use LAPACK.potrf! do Cholesky decomposition, I met this question. using StaticArrays using TimerOutputs using LinearAlgebra function test3\_1(Quu) @timeit "LAPACK.potrf!" LAPACK.potrf!('U',Quu) end n = 16 Quu1…

---

## [Feature selection+classification pipeline](https://discourse.julialang.org/t/feature-selection-classification-pipeline/81365)

<div class="topic-metadata">

**Author:** [@Michele\_Avanzo](https://discourse.julialang.org/u/Michele_Avanzo)\
**Replies:** 3\
**Last updated:** [June 7, 2022, 11:04am UTC](https://discourse.julialang.org/t/feature-selection-classification-pipeline/81365 "2022-06-07T11:04:16Z")

</div>

Hi, I am relatively new to Julia. I find it very difficult to build a pipeline that selects optimal subset of features from a large number of features and then training a ML classifier. Currently, I first apply ShapML…

---

## [How to solve this Ax=b faster?](https://discourse.julialang.org/t/how-to-solve-this-ax-b-faster/81693)

<div class="topic-metadata">

**Author:** [@Minimum-Pollution-96](https://discourse.julialang.org/u/Minimum-Pollution-96)\
**Replies:** 24\
**Last updated:** [June 7, 2022, 8:40am UTC](https://discourse.julialang.org/t/how-to-solve-this-ax-b-faster/81693 "2022-06-07T08:40:32Z")

</div>

I am trying to solve a sparse stiffness matrix (positive definite) of size 1986360x1986360 SparseMatrixCSC{Float64, Int64} with 18327153 stored entries. Here’s a sample code. using SparseArrays using LinearAlgebra A =…

---

## [SDE \`EnsembleProblem\` unhappy with \`trajectories\>=2\`?](https://discourse.julialang.org/t/sde-ensembleproblem-unhappy-with-trajectories-2/82098)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 4\
**Last updated:** [June 7, 2022, 4:21am UTC](https://discourse.julialang.org/t/sde-ensembleproblem-unhappy-with-trajectories-2/82098 "2022-06-07T04:21:22Z")

</div>

The title is a bit generic, but I have trouble seeing a more specific version of my SDE problem. Consider the following problem: using DifferentialEquations using LinearAlgebra function make\_problem\_2() m1 = rand(C…

---

## [How do I regularise MLJFlux models?](https://discourse.julialang.org/t/how-do-i-regularise-mljflux-models/82349)

<div class="topic-metadata">

**Author:** [@ablaom](https://discourse.julialang.org/u/ablaom)\
**Replies:** 1\
**Last updated:** [June 6, 2022, 11:18pm UTC](https://discourse.julialang.org/t/how-do-i-regularise-mljflux-models/82349 "2022-06-06T23:18:00Z")

</div>

Reposting this question from a Slack channel.

---

## [How to Handle MissingException in Makie?](https://discourse.julialang.org/t/how-to-handle-missingexception-in-makie/82325)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 5\
**Last updated:** [June 6, 2022, 6:18pm UTC](https://discourse.julialang.org/t/how-to-handle-missingexception-in-makie/82325 "2022-06-06T18:18:09Z")

</div>

Hi all, I have columns in my dataframe as follows: These columns contain Ints as well as missings. I know that Makie.jl handles missings per this issue: handling vectors with \`Missing\` in type signature (even if the…

---

## [Simple macroeconomic model in DynamicalSystems.jl](https://discourse.julialang.org/t/simple-macroeconomic-model-in-dynamicalsystems-jl/82221)

<div class="topic-metadata">

**Author:** [@josec](https://discourse.julialang.org/u/josec)\
**Replies:** 20\
**Last updated:** [June 6, 2022, 4:51pm UTC](https://discourse.julialang.org/t/simple-macroeconomic-model-in-dynamicalsystems-jl/82221 "2022-06-06T16:51:58Z")

</div>

Hi. I am very new to Julia. I have a very simple macroeconomic model, which I managed to simulate and plot with numpy for Julia. I tried to simulate it in DynamicalSystems.jl, but not all the equations are of the type:…

---

## [How to use \`HyperOpt.jl\` to optimise a vector of parameters](https://discourse.julialang.org/t/how-to-use-hyperopt-jl-to-optimise-a-vector-of-parameters/82232)

<div class="topic-metadata">

**Author:** [@this\_josh](https://discourse.julialang.org/u/this_josh)\
**Replies:** 10\
**Last updated:** [June 6, 2022, 3:26pm UTC](https://discourse.julialang.org/t/how-to-use-hyperopt-jl-to-optimise-a-vector-of-parameters/82232 "2022-06-06T15:26:25Z")

</div>

I’d like to use HyperOpt.jl to optimise a vector of parameters, but I’m having trouble using following the libraries documentation (a readme) As far as I can tell this should be sufficient using Hyperopt n = 10 d1 = ra…

---

## [Unable to install JuMP 1.0 or 1.1 (Julia 1.7.3)](https://discourse.julialang.org/t/unable-to-install-jump-1-0-or-1-1-julia-1-7-3/82304)

<div class="topic-metadata">

**Author:** [@adow031](https://discourse.julialang.org/u/adow031)\
**Replies:** 3\
**Last updated:** [June 6, 2022, 2:13pm UTC](https://discourse.julialang.org/t/unable-to-install-jump-1-0-or-1-1-julia-1-7-3/82304 "2022-06-06T14:13:28Z")

</div>

On a clean install of Julia 1.7.3, I cannot install a version of JuMP greater than 0.22.3. If I use \] add JuMP Julia will install version 0.22.3. If I try to force it to install 1.0 or 1.1, e.g.: \] add JuMP@1.1.0 It g…

---

## [Radial Basis interpolation multivariable](https://discourse.julialang.org/t/radial-basis-interpolation-multivariable/82196)

<div class="topic-metadata">

**Author:** [@thomasjones](https://discourse.julialang.org/u/thomasjones)\
**Replies:** 5\
**Last updated:** [June 6, 2022, 11:31am UTC](https://discourse.julialang.org/t/radial-basis-interpolation-multivariable/82196 "2022-06-06T11:31:19Z")

</div>

Hello all, I have columns of data that represent independent variables a,b,c and two dependent variables x,y in a non linear system. I want to be able to predict x and y given a,b,c. Matlab has a newrb function that …

---

## [Linear Optimization with Quadratic Constraints: Efficient, arbitrary precision solver](https://discourse.julialang.org/t/linear-optimization-with-quadratic-constraints-efficient-arbitrary-precision-solver/82105)

<div class="topic-metadata">

**Author:** [@DanDoe](https://discourse.julialang.org/u/DanDoe)\
**Replies:** 14\
**Last updated:** [June 6, 2022, 8:39am UTC](https://discourse.julialang.org/t/linear-optimization-with-quadratic-constraints-efficient-arbitrary-precision-solver/82105 "2022-06-06T08:39:17Z")

</div>

I want to solve a linear optimization problem with quadratic constraints of the form \\max\_{\\boldsymbol x} y \\text{ such that } f\_i(y \\boldsymbol x) \\leq 0 \\: \\forall \\: i = 1, \\dots, C and the f\_i are quadratic in the…

---

## [CSV.read not recognizing "select" keyword](https://discourse.julialang.org/t/csv-read-not-recognizing-select-keyword/82089)

<div class="topic-metadata">

**Author:** [@CopyOfA](https://discourse.julialang.org/u/CopyOfA)\
**Replies:** 11\
**Last updated:** [June 6, 2022, 1:40am UTC](https://discourse.julialang.org/t/csv-read-not-recognizing-select-keyword/82089 "2022-06-06T01:40:04Z")

</div>

I am reading in a space-delimited file using the CSV library in Julia. edgeList = CSV.read( joinpath(dataDirectory, "out.file"), types=\[Int, Int\], header=\["node1", "node2"\], skipto=3, select=\[1,2\] ) …

---

## [Sum for components with index smaller than another index in constraints](https://discourse.julialang.org/t/sum-for-components-with-index-smaller-than-another-index-in-constraints/82117)

<div class="topic-metadata">

**Author:** [@chenr86](https://discourse.julialang.org/u/chenr86)\
**Replies:** 2\
**Last updated:** [June 6, 2022, 1:14am UTC](https://discourse.julialang.org/t/sum-for-components-with-index-smaller-than-another-index-in-constraints/82117 "2022-06-06T01:14:41Z")

</div>

Hello, I want to achieve summation of components with index smaller than i in the expression, and used in constraint. That is to say, the components in level is related to each other, e.g. level\[2\] is the sum of level\[1…

---

## [How to display multiple plot windows?](https://discourse.julialang.org/t/how-to-display-multiple-plot-windows/82246)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 3\
**Last updated:** [June 5, 2022, 10:59am UTC](https://discourse.julialang.org/t/how-to-display-multiple-plot-windows/82246 "2022-06-05T10:59:07Z")

</div>

How can I display multiple plot windows at the same time? I tried: using Plots x=1:0.1:100 y1=sin.(x) y2=cos.(x) p1 = plot(x,y1) p2 = plot(x,y2) display(p1) display(p2) But I always see only the last plot, not two…

---

## [Mass constraints for ApproxFun BVP system solver](https://discourse.julialang.org/t/mass-constraints-for-approxfun-bvp-system-solver/82257)

<div class="topic-metadata">

**Author:** [@Jack\_hues](https://discourse.julialang.org/u/Jack_hues)\
**Replies:** 0\
**Last updated:** [June 5, 2022, 3:29am UTC](https://discourse.julialang.org/t/mass-constraints-for-approxfun-bvp-system-solver/82257 "2022-06-05T03:29:22Z")

</div>

Does ApproxFun currently have a way to solve BVPs with mass conservation? For example 0=u''+f(u,v) and 0=v''-f(u,v) with homogeneous Neumann boundary conditions or periodic boundary conditions. Namely, can I tell ApproxF…

---

## [Complementarity.jl supports equality constraints?](https://discourse.julialang.org/t/complementarity-jl-supports-equality-constraints/82214)

<div class="topic-metadata">

**Author:** [@vicentemunozlh](https://discourse.julialang.org/u/vicentemunozlh)\
**Replies:** 3\
**Last updated:** [June 4, 2022, 10:42pm UTC](https://discourse.julialang.org/t/complementarity-jl-supports-equality-constraints/82214 "2022-06-04T22:42:20Z")

</div>

Hello, I have been unable to finish my MCP model because I cant find the way to add a constraint that is an equality. When I try combining and adding that constraint as @constraint or @NLconstraint and the others with @m…

---

## [How to list all default parameters of optimizers](https://discourse.julialang.org/t/how-to-list-all-default-parameters-of-optimizers/82243)

<div class="topic-metadata">

**Author:** [@Tri](https://discourse.julialang.org/u/Tri)\
**Replies:** 1\
**Last updated:** [June 4, 2022, 9:02pm UTC](https://discourse.julialang.org/t/how-to-list-all-default-parameters-of-optimizers/82243 "2022-06-04T21:02:00Z")

</div>

I know that I can change a parameter of optimizer by doing using JuMP using Ipopt model = Model(Ipopt.Optimizer) set\_optimizer\_attribute(model, “print\_level”, 0) How can I list all available parameters and their d…

---

## [Graph vertex and edge attributes](https://discourse.julialang.org/t/graph-vertex-and-edge-attributes/82234)

<div class="topic-metadata">

**Author:** [@CopyOfA](https://discourse.julialang.org/u/CopyOfA)\
**Replies:** 4\
**Last updated:** [June 4, 2022, 7:06pm UTC](https://discourse.julialang.org/t/graph-vertex-and-edge-attributes/82234 "2022-06-04T19:06:29Z")

</div>

I am a newbie to graph analytics in Julia and I am using Graphs.jl for graph analysis. In other libraries (e.g., R’s igraph or Python’s networkx) there is the ability to add attributes to the edges and vertices. However,…

---

## [Parameter Types in DiffEqFlux.jl versus DifferentialEquations.jl](https://discourse.julialang.org/t/parameter-types-in-diffeqflux-jl-versus-differentialequations-jl/79635)

<div class="topic-metadata">

**Author:** [@jbu](https://discourse.julialang.org/u/jbu)\
**Replies:** 6\
**Last updated:** [June 4, 2022, 3:38pm UTC](https://discourse.julialang.org/t/parameter-types-in-diffeqflux-jl-versus-differentialequations-jl/79635 "2022-06-04T15:38:16Z")

</div>

What are the differences between allowed parameter types in DiffEqFlux.jl versus DifferentialEquations.jl? The documentation for DifferentialEquations states the following: Note that the type for the parameters p can …

---

## [Why does EnsembleGPUArray not save at the given time points the solution?](https://discourse.julialang.org/t/why-does-ensemblegpuarray-not-save-at-the-given-time-points-the-solution/78036)

<div class="topic-metadata">

**Author:** [@Marius\_123](https://discourse.julialang.org/u/Marius_123)\
**Replies:** 1\
**Last updated:** [June 4, 2022, 12:27pm UTC](https://discourse.julialang.org/t/why-does-ensemblegpuarray-not-save-at-the-given-time-points-the-solution/78036 "2022-06-04T12:27:41Z")

</div>

I am trying to solve the same ODE for multiple parameters on the GPU, however as you can see in the provided code, the size of the solution trajectories is not the expected one. I get solution that are of the size 7\*6, b…

---

## [Symbolic Geometry definition for PINN](https://discourse.julialang.org/t/symbolic-geometry-definition-for-pinn/80058)

<div class="topic-metadata">

**Author:** [@LeoCott](https://discourse.julialang.org/u/LeoCott)\
**Replies:** 6\
**Last updated:** [June 4, 2022, 12:01pm UTC](https://discourse.julialang.org/t/symbolic-geometry-definition-for-pinn/80058 "2022-06-04T12:01:30Z")

</div>

Dear all, I’m trying to solve the Reynolds-Averaged Navier Stokes (RANS) equations in a channel with periodic hills (see Figure below). The hill geometry is defined by a third order polynomial, here assumed to be co…

---

## [Gentle introduction to spatial modelling in Julia](https://discourse.julialang.org/t/gentle-introduction-to-spatial-modelling-in-julia/82060)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 2\
**Last updated:** [June 4, 2022, 11:56am UTC](https://discourse.julialang.org/t/gentle-introduction-to-spatial-modelling-in-julia/82060 "2022-06-04T11:56:01Z")

</div>

Hello I have a set of ODEs to model the interaction between a bacterium and a phage, which gives the following results: I would like to model how the model works on a 2D space (let’s say a section of skin). The idea…

---

## [Better determinant? det looks horrible](https://discourse.julialang.org/t/better-determinant-det-looks-horrible/82202)

<div class="topic-metadata">

**Author:** [@gangchern](https://discourse.julialang.org/u/gangchern)\
**Replies:** 11\
**Last updated:** [June 4, 2022, 8:00am UTC](https://discourse.julialang.org/t/better-determinant-det-looks-horrible/82202 "2022-06-04T08:00:09Z")

</div>

using SymEngine using LinearAlgebra \[a\*z2 2\*z2 + a\*z1 z4 z3; 2\*z1\*z3 -6\*b\*z2^2 z1^2 0; 2\*z1 - z2 -z1 2\*z3 0; -z3 2\*z2 -z1 2\*z4\]|\>det The output is horrible (-(-(2\*a\*z2^2 + …

---

## [Choosing Colors and Legend in AlgebraOfGraphics](https://discourse.julialang.org/t/choosing-colors-and-legend-in-algebraofgraphics/82152)

<div class="topic-metadata">

**Author:** [@ParadaCarleton](https://discourse.julialang.org/u/ParadaCarleton)\
**Replies:** 3\
**Last updated:** [June 3, 2022, 7:55pm UTC](https://discourse.julialang.org/t/choosing-colors-and-legend-in-algebraofgraphics/82152 "2022-06-03T19:55:27Z")

</div>

I’m trying to create a plot comparing two parameters I calculated in Turing.jl. I’ve kind of managed this with the following code: data(avg\_vote) \* aog.density() \* mapping( :avg\_vote=\>"House Popular Vote: Average De…

---

## [\[ANN\] ZigZagBoomerang.jl](https://discourse.julialang.org/t/ann-zigzagboomerang-jl/57287)

<div class="topic-metadata">

**Author:** [@mschauer](https://discourse.julialang.org/u/mschauer)\
**Replies:** 37\
**Last updated:** [June 3, 2022, 6:53pm UTC](https://discourse.julialang.org/t/ann-zigzagboomerang-jl/57287 "2022-06-03T18:53:41Z")

</div>

Dear all! We would like to announce our package together with our new paper “Sticky PDMP samplers for sparse and local inference problems” (Arxiv link) ZigZagBoomerang.jl Sleek implementations of the ZigZag, Boomerang …

---

## [Latex strings not working with makie](https://discourse.julialang.org/t/latex-strings-not-working-with-makie/82156)

<div class="topic-metadata">

**Author:** [@moataz-sabry](https://discourse.julialang.org/u/moataz-sabry)\
**Replies:** 6\
**Last updated:** [June 3, 2022, 4:16pm UTC](https://discourse.julialang.org/t/latex-strings-not-working-with-makie/82156 "2022-06-03T16:16:52Z")

</div>

I’m trying to plot some graphs using CairoMakie.jl that contains latex strings. But it doesn’t work as intended. it renders the same string but with a $ before and after. Here is an example from Makie documentation. Any …

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

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