# Specific Domains

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

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

**Page:** 175

---

## [Scatter plot with multiple labels per point](https://discourse.julialang.org/t/scatter-plot-with-multiple-labels-per-point/102477)

<div class="topic-metadata">

**Author:** [@DrChainsaw](https://discourse.julialang.org/u/DrChainsaw)\
**Replies:** 1\
**Last updated:** [August 6, 2023, 3:25pm UTC](https://discourse.julialang.org/t/scatter-plot-with-multiple-labels-per-point/102477 "2023-08-06T15:25:29Z")

</div>

Suppose I have some a set of items like this: stuct DummyItem x::Float64 y::Float64 labels::Vector{String} end Where labels can have 10-100 elements but only up to max 10 or so unique values. Is there a good way to…

---

## [Convex.jl vs. optimization.jl](https://discourse.julialang.org/t/convex-jl-vs-optimization-jl/102429)

<div class="topic-metadata">

**Author:** [@tapyu](https://discourse.julialang.org/u/tapyu)\
**Replies:** 9\
**Last updated:** [August 6, 2023, 2:19am UTC](https://discourse.julialang.org/t/convex-jl-vs-optimization-jl/102429 "2023-08-06T02:19:58Z")

</div>

I am a little unsure about the difference between these packages. How to know whether I should use optimization.jl or convex.jl? I am pretty used to disciplined convex programming (convex.jl covers it nicely), but Idk wh…

---

## [Lowest Possible Memory For Neural ODE](https://discourse.julialang.org/t/lowest-possible-memory-for-neural-ode/102526)

<div class="topic-metadata">

**Author:** [@prbzrg](https://discourse.julialang.org/u/prbzrg)\
**Replies:** 1\
**Last updated:** [August 6, 2023, 12:22am UTC](https://discourse.julialang.org/t/lowest-possible-memory-for-neural-ode/102526 "2023-08-06T00:22:42Z")

</div>

For a neural ode, what are the best kwargs to pass to the solve function that make it use the lowest possible memory in both direct and AD usage? I use: kwargs = Dict( :alg\_hints =\> \[:nonstiff, :memorybound\], :…

---

## [Using solution of DDE model as history for another (larger) DDE problem](https://discourse.julialang.org/t/using-solution-of-dde-model-as-history-for-another-larger-dde-problem/102435)

<div class="topic-metadata">

**Author:** [@jewh](https://discourse.julialang.org/u/jewh)\
**Replies:** 1\
**Last updated:** [August 5, 2023, 10:56pm UTC](https://discourse.julialang.org/t/using-solution-of-dde-model-as-history-for-another-larger-dde-problem/102435 "2023-08-05T22:56:41Z")

</div>

I want to study effects on a DDE model when I add another component to the system. Using resize! and callbacks doesn’t work. Therefore I want to solve the DDE model for n components across some time span, then use this…

---

## [Filling in missing values within a group using values carried forward and backward](https://discourse.julialang.org/t/filling-in-missing-values-within-a-group-using-values-carried-forward-and-backward/102505)

<div class="topic-metadata">

**Author:** [@George9000](https://discourse.julialang.org/u/George9000)\
**Replies:** 4\
**Last updated:** [August 5, 2023, 11:54am UTC](https://discourse.julialang.org/t/filling-in-missing-values-within-a-group-using-values-carried-forward-and-backward/102505 "2023-08-05T11:54:10Z")

</div>

Given a DataFrame with fields :a and :b such that :a is a group variable and :b is a value variable which has many missing values. What is the optimal method to fill the missing values in :b to satisfy the following cond…

---

## [How to implement periodic boundary conditions with callbacks?](https://discourse.julialang.org/t/how-to-implement-periodic-boundary-conditions-with-callbacks/102493)

<div class="topic-metadata">

**Author:** [@roi.holtzman](https://discourse.julialang.org/u/roi.holtzman)\
**Replies:** 14\
**Last updated:** [August 4, 2023, 8:34pm UTC](https://discourse.julialang.org/t/how-to-implement-periodic-boundary-conditions-with-callbacks/102493 "2023-08-04T20:34:00Z")

</div>

I am trying to use 2 callbacks when solving a differential equation. I am trying to solve for a pendulum, so I have a cyclic coordinate that goes from (-\\pi, \\pi). So when the coordinate goes above \\pi I want it to shif…

---

## [Scrap table from NASA GCN circulars website](https://discourse.julialang.org/t/scrap-table-from-nasa-gcn-circulars-website/101690)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 30\
**Last updated:** [August 3, 2023, 5:15pm UTC](https://discourse.julialang.org/t/scrap-table-from-nasa-gcn-circulars-website/101690 "2023-08-03T17:15:47Z")

</div>

I want scrap table from these websites which have content separated by | so i need some way to parse string from | . if occursin("MASTER", txt) is used to pick only Master satellite website. The code that i have pr…

---

## [Minimisation of operator norm—solution does not match evaluated value \[Convex.jl\]](https://discourse.julialang.org/t/minimisation-of-operator-norm-solution-does-not-match-evaluated-value-convex-jl/102319)

<div class="topic-metadata">

**Author:** [@not-fred](https://discourse.julialang.org/u/not-fred)\
**Replies:** 7\
**Last updated:** [August 3, 2023, 3:08pm UTC](https://discourse.julialang.org/t/minimisation-of-operator-norm-solution-does-not-match-evaluated-value-convex-jl/102319 "2023-08-03T15:08:22Z")

</div>

I’m using Convex.jl to minimize the operator norm of a matrix (minimize opnorm(J,Inf)), but the solution (problem.optval) does not match the evaluated value after performing the optimisation (opnorm(evaluate(J,Inf))). A…

---

## [Equivalent of Matlab's deval in DifferentialEquations.jl](https://discourse.julialang.org/t/equivalent-of-matlabs-deval-in-differentialequations-jl/102444)

<div class="topic-metadata">

**Author:** [@jewh](https://discourse.julialang.org/u/jewh)\
**Replies:** 2\
**Last updated:** [August 3, 2023, 12:49pm UTC](https://discourse.julialang.org/t/equivalent-of-matlabs-deval-in-differentialequations-jl/102444 "2023-08-03T12:49:15Z")

</div>

Is there a function like deval in DifferentialEquations.jl?

---

## [Convex.jl constraints not enforced](https://discourse.julialang.org/t/convex-jl-constraints-not-enforced/102439)

<div class="topic-metadata">

**Author:** [@UgeB](https://discourse.julialang.org/u/UgeB)\
**Replies:** 2\
**Last updated:** [August 3, 2023, 12:35pm UTC](https://discourse.julialang.org/t/convex-jl-constraints-not-enforced/102439 "2023-08-03T12:35:39Z")

</div>

Hi, I am using Convex.jl to solve a simple least squares optimization problem with some monotonicity constraints on my variable \\phi. The least squares objective is minimized to zero which should not be the case as my …

---

## [Nested struct as state variable in DifferentialEquations](https://discourse.julialang.org/t/nested-struct-as-state-variable-in-differentialequations/88583)

<div class="topic-metadata">

**Author:** [@maxkapur](https://discourse.julialang.org/u/maxkapur)\
**Replies:** 7\
**Last updated:** [August 3, 2023, 8:53am UTC](https://discourse.julialang.org/t/nested-struct-as-state-variable-in-differentialequations/88583 "2023-08-03T08:53:41Z")

</div>

I’m learning to use the DifferentialEquations ecosystem, and my goal is to simulate dynamic systems in which the state variable is a custom struct. In the simplest case, my state variable is just the x and y coordinates…

---

## [CUFFT.plan\_fft! take a lot of memory, cannot be freed](https://discourse.julialang.org/t/cufft-plan-fft-take-a-lot-of-memory-cannot-be-freed/102377)

<div class="topic-metadata">

**Author:** [@jinfreedom](https://discourse.julialang.org/u/jinfreedom)\
**Replies:** 3\
**Last updated:** [August 3, 2023, 8:03am UTC](https://discourse.julialang.org/t/cufft-plan-fft-take-a-lot-of-memory-cannot-be-freed/102377 "2023-08-03T08:03:06Z")

</div>

Hi, I’m playing with CUDA.jl for FFT computations. I use CUFFT.plan\_fft! to perform in-place FFT on large complex arrays. What I found was the in-place plan itself seems to occupy a large chunk of GPU memory about the sa…

---

## [Modeling constraints with CPLEXCP.jl](https://discourse.julialang.org/t/modeling-constraints-with-cplexcp-jl/102360)

<div class="topic-metadata">

**Author:** [@Matheus\_Diogenes\_And](https://discourse.julialang.org/u/Matheus_Diogenes_And)\
**Replies:** 3\
**Last updated:** [August 2, 2023, 9:17pm UTC](https://discourse.julialang.org/t/modeling-constraints-with-cplexcp-jl/102360 "2023-08-02T21:17:47Z")

</div>

Hello everyone. I am trying to model some constraints through constraint programming, by using CPLEXCP.jl. But I am having some issues with regards to translating the constraints into functions available by the library.…

---

## [What would be the best approach to handle large NetCDF sets?](https://discourse.julialang.org/t/what-would-be-the-best-approach-to-handle-large-netcdf-sets/102091)

<div class="topic-metadata">

**Author:** [@ThomasJulia](https://discourse.julialang.org/u/ThomasJulia)\
**Replies:** 10\
**Last updated:** [August 2, 2023, 10:58am UTC](https://discourse.julialang.org/t/what-would-be-the-best-approach-to-handle-large-netcdf-sets/102091 "2023-08-02T10:58:36Z")

</div>

Currently, we have python scripts able to handle large netcdf sets (100Go to 1To). Thanks to Dask and multithreading we was able to load and perform operations on chunk which would fit in memory. However, it is too slow …

---

## [Real-number metric for quantifying the quality of a clustering output](https://discourse.julialang.org/t/real-number-metric-for-quantifying-the-quality-of-a-clustering-output/102385)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 2\
**Last updated:** [August 2, 2023, 9:37am UTC](https://discourse.julialang.org/t/real-number-metric-for-quantifying-the-quality-of-a-clustering-output/102385 "2023-08-02T09:37:56Z")

</div>

Hi all, Given some data, and the output of DBSCAN applied to this data (or any other clustering algorithm really), I need a way to assign a real number that quantifies the “quality” of the DBSCAN clustering. I am wonde…

---

## [GitHub throws errors when precompiling GLMakie](https://discourse.julialang.org/t/github-throws-errors-when-precompiling-glmakie/101882)

<div class="topic-metadata">

**Author:** [@Niall](https://discourse.julialang.org/u/Niall)\
**Replies:** 10\
**Last updated:** [August 2, 2023, 8:19am UTC](https://discourse.julialang.org/t/github-throws-errors-when-precompiling-glmakie/101882 "2023-08-02T08:19:07Z")

</div>

Hi. I’m having endless problems getting Makie to precompile successfully on GitHub in a package whose code I have inherited, but which compiles fine on my own machine. In particular, GitHub gives me these warnings from f…

---

## [Potential bug with setting variable bounds with a NamedArray](https://discourse.julialang.org/t/potential-bug-with-setting-variable-bounds-with-a-namedarray/102359)

<div class="topic-metadata">

**Author:** [@Mitch\_Phillipson](https://discourse.julialang.org/u/Mitch_Phillipson)\
**Replies:** 3\
**Last updated:** [August 1, 2023, 10:19pm UTC](https://discourse.julialang.org/t/potential-bug-with-setting-variable-bounds-with-a-namedarray/102359 "2023-08-01T22:19:58Z")

</div>

Hello, I think I’ve found a small bug in JuMP (or NamedArrays) when setting bounds using a NamedArray using JuMP using NamedArrays S = \[:a,:b\] X = NamedArray(\[1, 2\],S) m = Model() @variable(m,Y\[S\]) set\_upper\_bound.(Y…

---

## [JuMP Read model from file: ERROR: LoadError: UndefVarError](https://discourse.julialang.org/t/jump-read-model-from-file-error-loaderror-undefvarerror/102368)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 1\
**Last updated:** [August 1, 2023, 9:50pm UTC](https://discourse.julialang.org/t/jump-read-model-from-file-error-loaderror-undefvarerror/102368 "2023-08-01T21:50:24Z")

</div>

I use JuMP to solve a simple MILP read in from the input file test.mps. After solving the model, JuMP generates an undefined variable error when I try to access the value of a variable in the MILP. test.mps: NAME ROWS …

---

## [JuMP COPT does not solve LP relaxation of MILP with SOS1 constraints](https://discourse.julialang.org/t/jump-copt-does-not-solve-lp-relaxation-of-milp-with-sos1-constraints/102373)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 1\
**Last updated:** [August 1, 2023, 9:47pm UTC](https://discourse.julialang.org/t/jump-copt-does-not-solve-lp-relaxation-of-milp-with-sos1-constraints/102373 "2023-08-01T21:47:48Z")

</div>

When I use COPT through JuMP to solve the LP relaxation of a MILP with SOS1 constraints, the MILP rather than its LP relaxation is solved. If the SOS1 constraints are removed, then COPT solves the LP relaxation. Output: …

---

## [Makie LaTeX fraction in y-axis label](https://discourse.julialang.org/t/makie-latex-fraction-in-y-axis-label/102365)

<div class="topic-metadata">

**Author:** [@maxee](https://discourse.julialang.org/u/maxee)\
**Replies:** 2\
**Last updated:** [August 1, 2023, 7:59pm UTC](https://discourse.julialang.org/t/makie-latex-fraction-in-y-axis-label/102365 "2023-08-01T19:59:31Z")

</div>

Is there a way to allow the y-axis label in Makie be a fraction? Here is a minimal working example: using CairoMakie fig = Figure() ax = Axis(fig\[1,1\]) lines!(ax, rand(5)) ax.ylabel = L"$\\frac{a}{b}$" save("file.pdf", …

---

## [Byrow function to get the mean of row](https://discourse.julialang.org/t/byrow-function-to-get-the-mean-of-row/102315)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 10\
**Last updated:** [August 1, 2023, 12:20pm UTC](https://discourse.julialang.org/t/byrow-function-to-get-the-mean-of-row/102315 "2023-08-01T12:20:20Z")

</div>

I want to get the row wise mean of two columns of data using byrow function. These two columns are T\_start(s) and T\_stop(s). How should i change code given below ? :point\_down: using HTTP,CSV,DataFrames,InMemoryData…

---

## [Combining data of different GCNs in a single file](https://discourse.julialang.org/t/combining-data-of-different-gcns-in-a-single-file/102013)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 21\
**Last updated:** [August 1, 2023, 10:33am UTC](https://discourse.julialang.org/t/combining-data-of-different-gcns-in-a-single-file/102013 "2023-08-01T10:33:42Z")

</div>

I want to create an empty table having headers :point\_right: Time(s) | Magnitude | MagErr | Filter | System | Telescope | GalExtCorr | GCN\_no. | GRB\_no. and then fill data from different telescopes GCNs in those…

---

## [Modeling Objective Function with CPLEXCP.jl](https://discourse.julialang.org/t/modeling-objective-function-with-cplexcp-jl/102336)

<div class="topic-metadata">

**Author:** [@Matheus\_Diogenes\_And](https://discourse.julialang.org/u/Matheus_Diogenes_And)\
**Replies:** 2\
**Last updated:** [August 1, 2023, 12:07pm UTC](https://discourse.julialang.org/t/modeling-objective-function-with-cplexcp-jl/102336 "2023-08-01T12:07:33Z")

</div>

Hello everyone. I am trying to use the CPLEXCP.jl. However, I am having some issues when using this library. Follows the code I am executing. This is the link of the github project. using CPLEXCP using MathOptInterface…

---

## [Creating an interpolating 2D lookup table](https://discourse.julialang.org/t/creating-an-interpolating-2d-lookup-table/102303)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 7\
**Last updated:** [August 1, 2023, 8:59am UTC](https://discourse.julialang.org/t/creating-an-interpolating-2d-lookup-table/102303 "2023-08-01T08:59:50Z")

</div>

I have the function p=f(a, b) and can generate a grid of values for all valid values of a and b using a simulation. The values of p are steadily increasing with a and steadily decreasing with b. I need a numeric approx…

---

## [Stuck with infeasibility certificates in JuMP.jl](https://discourse.julialang.org/t/stuck-with-infeasibility-certificates-in-jump-jl/102210)

<div class="topic-metadata">

**Author:** [@sstroemer](https://discourse.julialang.org/u/sstroemer)\
**Replies:** 1\
**Last updated:** [July 31, 2023, 11:08pm UTC](https://discourse.julialang.org/t/stuck-with-infeasibility-certificates-in-jump-jl/102210 "2023-07-31T23:08:16Z")

</div>

I’m trying to work with infeasibility certificates and different solvers. MWE using GLPK: using JuMP import HiGHS, Gurobi, GLPK model = JuMP.Model(() -\> GLPK.Optimizer(; want\_infeasibility\_certificates = true)) @varia…

---

## [Unsupported expression in JuMP](https://discourse.julialang.org/t/unsupported-expression-in-jump/102206)

<div class="topic-metadata">

**Author:** [@jack\_lee](https://discourse.julialang.org/u/jack_lee)\
**Replies:** 1\
**Last updated:** [July 31, 2023, 11:03pm UTC](https://discourse.julialang.org/t/unsupported-expression-in-jump/102206 "2023-07-31T23:03:46Z")

</div>

Given a list of sample points ,I want to find a target point which satisfy: the total distance to each points is minimum the largest distance to the target point is minimum function optimize\_factory\_13(xx,yy) mode…

---

## [Optim does not optimize in several minutes and it takes 10 seconds for scipy](https://discourse.julialang.org/t/optim-does-not-optimize-in-several-minutes-and-it-takes-10-seconds-for-scipy/101756)

<div class="topic-metadata">

**Author:** [@kunzaatko](https://discourse.julialang.org/u/kunzaatko)\
**Replies:** 1\
**Last updated:** [July 31, 2023, 4:46pm UTC](https://discourse.julialang.org/t/optim-does-not-optimize-in-several-minutes-and-it-takes-10-seconds-for-scipy/101756 "2023-07-31T16:46:35Z")

</div>

I am optimizing cross correlation of two arrays taken over there transfer function intersection. My function looks like this: otf\_lr\_1 = otf(tf, fft\_lr\_1, Δxy) # does not change with Δϕ fxs = fftfreq(size(fft\_lr\_2, 1), …

---

## [How to get involved in BioJulia](https://discourse.julialang.org/t/how-to-get-involved-in-biojulia/102215)

<div class="topic-metadata">

**Author:** [@Emiller](https://discourse.julialang.org/u/Emiller)\
**Replies:** 7\
**Last updated:** [July 31, 2023, 2:54pm UTC](https://discourse.julialang.org/t/how-to-get-involved-in-biojulia/102215 "2023-07-31T14:54:07Z")

</div>

Hoping we could create a similar page for at least BioJulia. I’m happy to take on the leg work to make a PR to the site, but I don’t know what the process :grimacing: I’m hoping to mimic: Join nf-core

---

## [Boundary conditions for \`DifferentialEquations.BVProblem\`](https://discourse.julialang.org/t/boundary-conditions-for-differentialequations-bvproblem/101901)

<div class="topic-metadata">

**Author:** [@mikmoore](https://discourse.julialang.org/u/mikmoore)\
**Replies:** 1\
**Last updated:** [July 31, 2023, 2:42pm UTC](https://discourse.julialang.org/t/boundary-conditions-for-differentialequations-bvproblem/101901 "2023-07-31T14:42:14Z")

</div>

I’m trying to solve a boundary value problem but still have some gaps in my understanding after reading the tutorial. Specifically, I’m trying to understand how boundary constraints should be encoded. I believe I’ve “fig…

---

## [NonlinearSolve Falsi algorithm: Unexpected ReturnCode](https://discourse.julialang.org/t/nonlinearsolve-falsi-algorithm-unexpected-returncode/102296)

<div class="topic-metadata">

**Author:** [@laikq](https://discourse.julialang.org/u/laikq)\
**Replies:** 2\
**Last updated:** [July 31, 2023, 1:35pm UTC](https://discourse.julialang.org/t/nonlinearsolve-falsi-algorithm-unexpected-returncode/102296 "2023-07-31T13:35:19Z")

</div>

I’m observing unexpected behavior in SimpleNonlinearSolve/NonlinearSolve’s algorithm Falsi (an algorithm for finding roots of nonlinear functions). I expect Falsi to return a successful return code if it converged, and a…

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

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