# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?page=245

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

**Page:** 246

---

## [Problem with Mosek and JuMP after Update](https://discourse.julialang.org/t/problem-with-mosek-and-jump-after-update/88594)

<div class="topic-metadata">

**Author:** [@jmcastro2109](https://discourse.julialang.org/u/jmcastro2109)\
**Replies:** 6\
**Last updated:** [October 11, 2022, 11:13pm UTC](https://discourse.julialang.org/t/problem-with-mosek-and-jump-after-update/88594 "2022-10-11T23:13:38Z")

</div>

Hi, I just installed Julia v1.8.2 and Mosek 10.0.25 and suddenly a code for an optimization function that I’ve always used stopped working. I provide a MWE using JuMP, Ipopt, LinearAlgebra, Random, Distributions, Bench…

---

## [Cub library functions in cuda.jl](https://discourse.julialang.org/t/cub-library-functions-in-cuda-jl/88476)

<div class="topic-metadata">

**Author:** [@nethaji8](https://discourse.julialang.org/u/nethaji8)\
**Replies:** 5\
**Last updated:** [October 11, 2022, 5:02pm UTC](https://discourse.julialang.org/t/cub-library-functions-in-cuda-jl/88476 "2022-10-11T17:02:02Z")

</div>

Hi everyone, I am trying to implement block-level reduction operations in the Cuda Julia kernel. Does Julia has “cub” kind of device-level functions…? How can I use the cub library device intrinsics for the following …

---

## [\[Makie\] Observables, Animations, & an annoying plot workflow](https://discourse.julialang.org/t/makie-observables-animations-an-annoying-plot-workflow/88574)

<div class="topic-metadata">

**Author:** [@AstroBarker](https://discourse.julialang.org/u/AstroBarker)\
**Replies:** 6\
**Last updated:** [October 11, 2022, 4:45pm UTC](https://discourse.julialang.org/t/makie-observables-animations-an-annoying-plot-workflow/88574 "2022-10-11T16:45:42Z")

</div>

Hey folks, I’m slowly getting used to Makie and the animations workflow. I am currently trying to make an animation of a 2D surface plot (quite similar to the use case here. I learned that my workflow was slow because I…

---

## [Conformal Predictive distributions](https://discourse.julialang.org/t/conformal-predictive-distributions/88067)

<div class="topic-metadata">

**Author:** [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Replies:** 21\
**Last updated:** [October 11, 2022, 4:36pm UTC](https://discourse.julialang.org/t/conformal-predictive-distributions/88067 "2022-10-11T16:36:04Z")

</div>

Note: this is updated code (corrects bugs in previous versions) Recently, there has been a rise in interest in “prior-free posterior distributions”. There is a related neat new package ConformalPrediction.jl (by @pat-a…

---

## [Slider in scatter plot adds new layers but doesnt delete old ones](https://discourse.julialang.org/t/slider-in-scatter-plot-adds-new-layers-but-doesnt-delete-old-ones/88508)

<div class="topic-metadata">

**Author:** [@candidaorelmex](https://discourse.julialang.org/u/candidaorelmex)\
**Replies:** 6\
**Last updated:** [October 11, 2022, 2:25pm UTC](https://discourse.julialang.org/t/slider-in-scatter-plot-adds-new-layers-but-doesnt-delete-old-ones/88508 "2022-10-11T14:25:16Z")

</div>

I would like to turn information in a dataframe into a scatterplot which I can filter with help of sliders. What I came up with is this: using Makie, GLMakie fig = Figure() # initialize canvas plot = Axis(fig\[1, 1\]) #…

---

## [OpenStreetMapX, folium](https://discourse.julialang.org/t/openstreetmapx-folium/88563)

<div class="topic-metadata">

**Author:** [@ctrebbau](https://discourse.julialang.org/u/ctrebbau)\
**Replies:** 2\
**Last updated:** [October 11, 2022, 11:24am UTC](https://discourse.julialang.org/t/openstreetmapx-folium/88563 "2022-10-11T11:24:06Z")

</div>

I’m not sure this is the right place to post this but I’m trying to accomplish something like this: OpenStreetMapX\_tutorial but with real coordinates. Anyways, my problems is that the end result of the loop map = flm.M…

---

## [Efficiently access data that changes rarely](https://discourse.julialang.org/t/efficiently-access-data-that-changes-rarely/88564)

<div class="topic-metadata">

**Author:** [@braeburn](https://discourse.julialang.org/u/braeburn)\
**Replies:** 1\
**Last updated:** [October 11, 2022, 10:27am UTC](https://discourse.julialang.org/t/efficiently-access-data-that-changes-rarely/88564 "2022-10-11T10:27:07Z")

</div>

Hey. I want to run some simulations depending on weather forecasts. The data is used very often so access is performance critical. It also may change, even though this only happens whenever a new forecast is available. I…

---

## [Juniper doesn't seem to be using all available threads](https://discourse.julialang.org/t/juniper-doesnt-seem-to-be-using-all-available-threads/88568)

<div class="topic-metadata">

**Author:** [@this\_josh](https://discourse.julialang.org/u/this_josh)\
**Replies:** 1\
**Last updated:** [October 11, 2022, 10:14am UTC](https://discourse.julialang.org/t/juniper-doesnt-seem-to-be-using-all-available-threads/88568 "2022-10-11T10:14:19Z")

</div>

I run Julia with 8 threads, as verified by Threads.nthreads(), but when I try to solve a problem using Juniper I get the warning Julia was started with less processors than you defined in your options. Start julia with: …

---

## [Efficient way to get the JuMP.value of all variables in a JuMP.Model?](https://discourse.julialang.org/t/efficient-way-to-get-the-jump-value-of-all-variables-in-a-jump-model/88539)

<div class="topic-metadata">

**Author:** [@nlaws](https://discourse.julialang.org/u/nlaws)\
**Replies:** 7\
**Last updated:** [October 11, 2022, 1:01am UTC](https://discourse.julialang.org/t/efficient-way-to-get-the-jump-value-of-all-variables-in-a-jump-model/88539 "2022-10-11T01:01:01Z")

</div>

I wrote a method to get all the variable values in a JuMP Model: function get\_results\_dict(m::JuMP.Model) av = JuMP.all\_variables(m); d = Dict() for v in av # special handling of time series, sub-in…

---

## [Sparse matrix and sparse subarray subtraction returns full arrays](https://discourse.julialang.org/t/sparse-matrix-and-sparse-subarray-subtraction-returns-full-arrays/88239)

<div class="topic-metadata">

**Author:** [@vivian-rogers](https://discourse.julialang.org/u/vivian-rogers)\
**Replies:** 6\
**Last updated:** [October 11, 2022, 12:24am UTC](https://discourse.julialang.org/t/sparse-matrix-and-sparse-subarray-subtraction-returns-full-arrays/88239 "2022-10-11T00:24:49Z")

</div>

Hi! So, I am writing a routine to recursively invert a big, sparse matrix which is known to be nice and reasonably invertible with this recursive method. Specifically, this pertains to the green’s function of a sparse ha…

---

## [Semidefinite programming with BigFloat](https://discourse.julialang.org/t/semidefinite-programming-with-bigfloat/88513)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 1\
**Last updated:** [October 10, 2022, 11:09pm UTC](https://discourse.julialang.org/t/semidefinite-programming-with-bigfloat/88513 "2022-10-10T23:09:52Z")

</div>

I’m looking at the package SDPAFamily.jl which provides access to arbitrary-precision semidefinite programming solvers. The README says that the JuMP interface does not support BigFloat. Is it still possible to somehow u…

---

## [Turing.jl run not reproducible!](https://discourse.julialang.org/t/turing-jl-run-not-reproducible/88288)

<div class="topic-metadata">

**Author:** [@aelmokadem](https://discourse.julialang.org/u/aelmokadem)\
**Replies:** 17\
**Last updated:** [October 10, 2022, 12:03pm UTC](https://discourse.julialang.org/t/turing-jl-run-not-reproducible/88288 "2022-10-10T12:03:20Z")

</div>

Hi all, I am running a Turing.jl model (an ODE model) and the results I am getting change every time I run the script. I have a seed set at the beginning of the script and there is more than one call to RNG in there but…

---

## [Comprehensive list of functions (maths, etc) available in CUDA.jl](https://discourse.julialang.org/t/comprehensive-list-of-functions-maths-etc-available-in-cuda-jl/88459)

<div class="topic-metadata">

**Author:** [@taxodium](https://discourse.julialang.org/u/taxodium)\
**Replies:** 3\
**Last updated:** [October 10, 2022, 11:58am UTC](https://discourse.julialang.org/t/comprehensive-list-of-functions-maths-etc-available-in-cuda-jl/88459 "2022-10-10T11:58:35Z")

</div>

Hi, After a bit of search, I haven’t been able to find a complete list of functions (particularly, maths functions) natively implemented in CUDA.jl. Sure, obvious ones like cos, sin, sqrt, exp are there, but the only an…

---

## [Documentation for bar plots in Plots.jl?](https://discourse.julialang.org/t/documentation-for-bar-plots-in-plots-jl/88514)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 2\
**Last updated:** [October 10, 2022, 9:48am UTC](https://discourse.julialang.org/t/documentation-for-bar-plots-in-plots-jl/88514 "2022-10-10T09:48:41Z")

</div>

I am trying to figure out how to do a bar plot, but cannot find any more documentation than Bar · Plots which mostly tells me that it exists. I tried Bar plots · GMT but get different results, but maybe GMT and Plots ar…

---

## [Order of edges in FeaturedGraph](https://discourse.julialang.org/t/order-of-edges-in-featuredgraph/88052)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 4\
**Last updated:** [October 10, 2022, 5:56am UTC](https://discourse.julialang.org/t/order-of-edges-in-featuredgraph/88052 "2022-10-10T05:56:39Z")

</div>

Hi, I am trying to understand FeaturedGraph from GraphSignals.jl. I am puzzled with the documentation, which says that features of edges are stored in matrix, where each column corresponds to a feature of one edge, but …

---

## [ModelingToolkit and State Variables with Optimization](https://discourse.julialang.org/t/modelingtoolkit-and-state-variables-with-optimization/84430)

<div class="topic-metadata">

**Author:** [@mzhenirovskyy](https://discourse.julialang.org/u/mzhenirovskyy)\
**Replies:** 11\
**Last updated:** [October 10, 2022, 3:01am UTC](https://discourse.julialang.org/t/modelingtoolkit-and-state-variables-with-optimization/84430 "2022-10-10T03:01:50Z")

</div>

I have the simple system from the documentation. module Grid1 export get\_model using ModelingToolkit using ModelingToolkitStandardLibrary.Electrical using ModelingToolkitStandardLibrary.Blocks: Constant function get\_…

---

## [Differentiable argmin? Trying VQ-VAE in Flux.jl](https://discourse.julialang.org/t/differentiable-argmin-trying-vq-vae-in-flux-jl/88424)

<div class="topic-metadata">

**Author:** [@afishy](https://discourse.julialang.org/u/afishy)\
**Replies:** 4\
**Last updated:** [October 10, 2022, 2:51am UTC](https://discourse.julialang.org/t/differentiable-argmin-trying-vq-vae-in-flux-jl/88424 "2022-10-10T02:51:08Z")

</div>

I’m trying to follow this VQ-VAE tutorial in Julia, particularly the VectorQuantizer module: # Calculate distances distances = (torch.sum(flat\_input\*\*2, dim=1, keepdim=True) + torch.…

---

## [\[Makie\] Colorbar positioning woes](https://discourse.julialang.org/t/makie-colorbar-positioning-woes/88465)

<div class="topic-metadata">

**Author:** [@AstroBarker](https://discourse.julialang.org/u/AstroBarker)\
**Replies:** 4\
**Last updated:** [October 9, 2022, 8:06pm UTC](https://discourse.julialang.org/t/makie-colorbar-positioning-woes/88465 "2022-10-09T20:06:13Z")

</div>

Hey folks, I am having trouble setting up a colorbar. The plot is set with aspect = DataAspect() and is quite rectangular. The colorbar then appears very far from the actual plot (see below). How can I remedy this so th…

---

## [How do frequencies shift after a FFT?](https://discourse.julialang.org/t/how-do-frequencies-shift-after-a-fft/88089)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 11\
**Last updated:** [October 9, 2022, 6:22pm UTC](https://discourse.julialang.org/t/how-do-frequencies-shift-after-a-fft/88089 "2022-10-09T18:22:26Z")

</div>

Hi all! I hope this is the right subcategory to ask in. I’m playing around with the FFTW package to perform some Fourier transforms. I got how to define a signal and transform it, but I can’t get how (and why) can I shi…

---

## [Undirected to directed graph](https://discourse.julialang.org/t/undirected-to-directed-graph/88491)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 2\
**Last updated:** [October 9, 2022, 5:14pm UTC](https://discourse.julialang.org/t/undirected-to-directed-graph/88491 "2022-10-09T17:14:10Z")

</div>

I have an undirected graph. Is there a simple function or similar for converting it to a directed graph (where each edge is replaced by two edges, one in each direction)?

---

## [Utilizing LP constraints structure with Tulip?](https://discourse.julialang.org/t/utilizing-lp-constraints-structure-with-tulip/88363)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 2\
**Last updated:** [October 8, 2022, 4:03pm UTC](https://discourse.julialang.org/t/utilizing-lp-constraints-structure-with-tulip/88363 "2022-10-08T16:03:54Z")

</div>

I’m solving many linear optimization problems that differ in variable bounds, but share the same constraints. There is no objective, i.e, I’m just looking for a feasible solution in each case. I’m using MultiFloats.Float…

---

## [Matrix inverse in constraints in \`@NLconstraint\`](https://discourse.julialang.org/t/matrix-inverse-in-constraints-in-nlconstraint/88462)

<div class="topic-metadata">

**Author:** [@Rick](https://discourse.julialang.org/u/Rick)\
**Replies:** 3\
**Last updated:** [October 9, 2022, 3:29am UTC](https://discourse.julialang.org/t/matrix-inverse-in-constraints-in-nlconstraint/88462 "2022-10-09T03:29:13Z")

</div>

Hi, I have a question related to nonlinear optimization. I am trying to impose a nonlinear constraint that involves a matrix inversion. The matrix contains a variable of the optimization model. When I try to do this via…

---

## [Default keyword arguments Optimization.jl](https://discourse.julialang.org/t/default-keyword-arguments-optimization-jl/88271)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 9\
**Last updated:** [October 8, 2022, 10:46pm UTC](https://discourse.julialang.org/t/default-keyword-arguments-optimization-jl/88271 "2022-10-08T22:46:55Z")

</div>

What are the default keyword arguments for Optimization.solve shown here? Can anyone point out to that code in Github?

---

## [Debugging in JuMP](https://discourse.julialang.org/t/debugging-in-jump/88457)

<div class="topic-metadata">

**Author:** [@samerb](https://discourse.julialang.org/u/samerb)\
**Replies:** 1\
**Last updated:** [October 8, 2022, 10:39pm UTC](https://discourse.julialang.org/t/debugging-in-jump/88457 "2022-10-08T22:39:44Z")

</div>

(Soft Question): If I try to solve a problem in JuMP, and I get an error or a solution that doesn’t make sense, it usually means I incorrectly coded or misspecified the problem I was trying to solve. I can try to proofr…

---

## [\[Makie\] Combining Colorbars](https://discourse.julialang.org/t/makie-combining-colorbars/88460)

<div class="topic-metadata">

**Author:** [@AstroBarker](https://discourse.julialang.org/u/AstroBarker)\
**Replies:** 1\
**Last updated:** [October 8, 2022, 6:47pm UTC](https://discourse.julialang.org/t/makie-combining-colorbars/88460 "2022-10-08T18:47:43Z")

</div>

I am using Makie to make a surface plot. However, I am constrained by the data layout to only plot one quarter at a time (resulting in four surface calls). What I need is a colorbar that represents the global figure, whe…

---

## [Basic JuMP Question](https://discourse.julialang.org/t/basic-jump-question/88451)

<div class="topic-metadata">

**Author:** [@samerb](https://discourse.julialang.org/u/samerb)\
**Replies:** 1\
**Last updated:** [October 8, 2022, 6:43pm UTC](https://discourse.julialang.org/t/basic-jump-question/88451 "2022-10-08T18:43:20Z")

</div>

I’m just trying to get a feel for how to use JuMP. I try model = Model(optimizer\_with\_attributes( Ipopt.Optimizer)) f(x) = x^2 register(model, :f, 1, f; autodiff = true) @variable(model, x) @NLconstrai…

---

## [RemoteChannel based Collective Operations](https://discourse.julialang.org/t/remotechannel-based-collective-operations/88453)

<div class="topic-metadata">

**Author:** [@charlescolley](https://discourse.julialang.org/u/charlescolley)\
**Replies:** 0\
**Last updated:** [October 8, 2022, 4:57pm UTC](https://discourse.julialang.org/t/remotechannel-based-collective-operations/88453 "2022-10-08T16:57:49Z")

</div>

I have a small collection of tree-based collectives that I’m using for some of my projects. I’m new to distributed algorithms and wanted to get some thoughts on the code I’ve written and the profiling I’ve done in hopes …

---

## [Fast way to access results in JuMP](https://discourse.julialang.org/t/fast-way-to-access-results-in-jump/88397)

<div class="topic-metadata">

**Author:** [@TBuConst](https://discourse.julialang.org/u/TBuConst)\
**Replies:** 4\
**Last updated:** [October 8, 2022, 12:50pm UTC](https://discourse.julialang.org/t/fast-way-to-access-results-in-jump/88397 "2022-10-08T12:50:15Z")

</div>

Hello everyone, say, I have a (pretty useless - just to illustrate the problem) MIP model in JuMP using JuMP using Cbc model = Model(Cbc.Optimizer) @variable(model, x\[1:100000, 1:10, 1:2\], Bin) @constraint(model, c\[i…

---

## [XGBoost reduce overfitting | k-fold cross validation](https://discourse.julialang.org/t/xgboost-reduce-overfitting-k-fold-cross-validation/88423)

<div class="topic-metadata">

**Author:** [@Seth16225](https://discourse.julialang.org/u/Seth16225)\
**Replies:** 1\
**Last updated:** [October 8, 2022, 12:25pm UTC](https://discourse.julialang.org/t/xgboost-reduce-overfitting-k-fold-cross-validation/88423 "2022-10-08T12:25:06Z")

</div>

Hello, I’m pretty new to machine learning, and I was using XGBoost.jl Regression. I’m in the process of trying to reduce overfitting through k-fold cross validation. I came across the nfold\_cv function, and I was wonder…

---

## [Constraints not being satisfied while using vector elements as rhs](https://discourse.julialang.org/t/constraints-not-being-satisfied-while-using-vector-elements-as-rhs/88294)

<div class="topic-metadata">

**Author:** [@Gokhan\_Kof](https://discourse.julialang.org/u/Gokhan_Kof)\
**Replies:** 7\
**Last updated:** [October 8, 2022, 4:42am UTC](https://discourse.julialang.org/t/constraints-not-being-satisfied-while-using-vector-elements-as-rhs/88294 "2022-10-08T04:42:47Z")

</div>

Hi, I am trying to solve the model below but the constraints are not being satisfied if I input a vector on the rhs (u\[j\] - 1). But, when I type it with hand (34, 28). It is being satisfied. ap.p 3 ap.n 5 ap.c 3×5×5 Ar…

[Previous page](https://discourse.julialang.org/c/domain/10.md?page=244)

[Next page](https://discourse.julialang.org/c/domain/10.md?page=246)
