# Specific Domains

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

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

**Page:** 430

---

## [State of RL packages](https://discourse.julialang.org/t/state-of-rl-packages/44500)

<div class="topic-metadata">

**Author:** [@tbreloff](https://discourse.julialang.org/u/tbreloff)\
**Replies:** 1\
**Last updated:** [August 7, 2020, 2:08pm UTC](https://discourse.julialang.org/t/state-of-rl-packages/44500 "2020-08-07T14:08:23Z")

</div>

Hi all. As many of you know, I’ve been away from the community for a few years, but I was happy to catch up a little with a remote JuliaCon. :tada: I’m wondering if there has been any progress made in the area of Reinf…

---

## [Flux function fitting](https://discourse.julialang.org/t/flux-function-fitting/44475)

<div class="topic-metadata">

**Author:** [@jstrube](https://discourse.julialang.org/u/jstrube)\
**Replies:** 2\
**Last updated:** [August 7, 2020, 1:24pm UTC](https://discourse.julialang.org/t/flux-function-fitting/44475 "2020-08-07T13:24:16Z")

</div>

I’m trying to reproduce the results from this Tensorflow tutorial: The objective is a nonlinear regression. Sounds simple enough, but I’m struggling to reproduce the results from the web page. My attempt looks like thi…

---

## [Julia JuMP optimization help](https://discourse.julialang.org/t/julia-jump-optimization-help/43259)

<div class="topic-metadata">

**Author:** [@jovansam](https://discourse.julialang.org/u/jovansam)\
**Replies:** 3\
**Last updated:** [August 7, 2020, 10:04am UTC](https://discourse.julialang.org/t/julia-jump-optimization-help/43259 "2020-08-07T10:04:09Z")

</div>

With complements in Julia/JuMP/PATH/KNITRO. How do you get to use non-linear functions. See in the code below. using PATH, JuMP, KNITRO function geological\_constraints\_MCP() Α = 50.0 Β = 0.1 δ = 0.05 …

---

## [Looking for ways to generalize using IndexedTables to Plot / Graph N-Dimensional data](https://discourse.julialang.org/t/looking-for-ways-to-generalize-using-indexedtables-to-plot-graph-n-dimensional-data/42266)

<div class="topic-metadata">

**Author:** [@Marc.Cox](https://discourse.julialang.org/u/Marc.Cox)\
**Replies:** 4\
**Last updated:** [August 7, 2020, 2:09am UTC](https://discourse.julialang.org/t/looking-for-ways-to-generalize-using-indexedtables-to-plot-graph-n-dimensional-data/42266 "2020-08-07T02:09:54Z")

</div>

Hi All, I’m looking for ways to generalize using IndexedTables to graph N-Dimensional data, but I’m stuck on how to collect the “for iter in eachindex(keys(tab\_t1.index.columns))”. In that regard, would you please see…

---

## [Problem understanding Loss function behavior using Flux.jl](https://discourse.julialang.org/t/problem-understanding-loss-function-behavior-using-flux-jl/44375)

<div class="topic-metadata">

**Author:** [@german\_brunini](https://discourse.julialang.org/u/german_brunini)\
**Replies:** 5\
**Last updated:** [August 7, 2020, 12:45am UTC](https://discourse.julialang.org/t/problem-understanding-loss-function-behavior-using-flux-jl/44375 "2020-08-07T00:45:44Z")

</div>

First of all, I am new to Neural Network (NN). Now, to the point! As part of my PhD, I am trying to solve some problem through NN. For this, I have created a program that creates some data set made of a collection of…

---

## [Mesh / GeometryBasics Rotate function](https://discourse.julialang.org/t/mesh-geometrybasics-rotate-function/44361)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 4\
**Last updated:** [August 7, 2020, 12:03am UTC](https://discourse.julialang.org/t/mesh-geometrybasics-rotate-function/44361 "2020-08-07T00:03:56Z")

</div>

I would have thought I could find this easier. I have loaded up and OBJ file with FileIO/MeshIO and am able to plot it in Makie with mesh. Is there a function already that will allow me to apply translations and rotati…

---

## [Knet: Need Help Generating Minibatches for RNN input](https://discourse.julialang.org/t/knet-need-help-generating-minibatches-for-rnn-input/38169)

<div class="topic-metadata">

**Author:** [@themadprogramer](https://discourse.julialang.org/u/themadprogramer)\
**Replies:** 2\
**Last updated:** [August 6, 2020, 9:59pm UTC](https://discourse.julialang.org/t/knet-need-help-generating-minibatches-for-rnn-input/38169 "2020-08-06T21:59:45Z")

</div>

I’m fairly new to Knet and still trying to figure my way around. The project I’m working on right now is a simple “speech emotion recognizer”. Unfortunately, the RNN tutorial makes for a better introduction to NLP proble…

---

## [Using symbolic mathematics to find equations of motion](https://discourse.julialang.org/t/using-symbolic-mathematics-to-find-equations-of-motion/44442)

<div class="topic-metadata">

**Author:** [@Bruno\_Mendes](https://discourse.julialang.org/u/Bruno_Mendes)\
**Replies:** 1\
**Last updated:** [August 6, 2020, 6:11pm UTC](https://discourse.julialang.org/t/using-symbolic-mathematics-to-find-equations-of-motion/44442 "2020-08-06T18:11:48Z")

</div>

I am working with a reduced-order mathematical model for the motion of a offshore platform. The deduction of equations of motion requires a lot of symbolic computation as differentiation of time-dependent variables and …

---

## [FEM frameworks for simulations which couple diffusion and linear elasticity](https://discourse.julialang.org/t/fem-frameworks-for-simulations-which-couple-diffusion-and-linear-elasticity/44431)

<div class="topic-metadata">

**Author:** [@feanor12](https://discourse.julialang.org/u/feanor12)\
**Replies:** 0\
**Last updated:** [August 6, 2020, 4:30pm UTC](https://discourse.julialang.org/t/fem-frameworks-for-simulations-which-couple-diffusion-and-linear-elasticity/44431 "2020-08-06T16:30:19Z")

</div>

I want to simulate a cylinder symmetric 2d multi material structure to solve a reaction diffusion problem coupled with a linear elasticity. What FEM package would be most suited for a simulation like this? As the react…

---

## [Establishment of 0-1 variable in JuMP](https://discourse.julialang.org/t/establishment-of-0-1-variable-in-jump/44421)

<div class="topic-metadata">

**Author:** [@abcde](https://discourse.julialang.org/u/abcde)\
**Replies:** 2\
**Last updated:** [August 6, 2020, 2:33pm UTC](https://discourse.julialang.org/t/establishment-of-0-1-variable-in-jump/44421 "2020-08-06T14:33:04Z")

</div>

I wrote a very simple program using JuMP model=Model(Gurobi.Optimizer) @variable(model,0\<=w\<=1,Int) @variable(model,0\<=x\[1:2,1:2\]\<=10) @constraint(model,w\*x\>=0) @objective(model,Min,-x) optimize!(model) How to mul…

---

## [Readavailable with timeout](https://discourse.julialang.org/t/readavailable-with-timeout/39585)

<div class="topic-metadata">

**Author:** [@Laszlo\_Nagy](https://discourse.julialang.org/u/Laszlo_Nagy)\
**Replies:** 8\
**Last updated:** [August 6, 2020, 1:39pm UTC](https://discourse.julialang.org/t/readavailable-with-timeout/39585 "2020-08-06T13:39:36Z")

</div>

I would like to read the first message out of a websocket as soon as it arrives, but also I want to close the connection if nothing arrives within a second. How can I do that? Example: task = @async HTTP.WebSockets.li…

---

## [Absolute value of matrix](https://discourse.julialang.org/t/absolute-value-of-matrix/44395)

<div class="topic-metadata">

**Author:** [@dty](https://discourse.julialang.org/u/dty)\
**Replies:** 11\
**Last updated:** [August 6, 2020, 1:38pm UTC](https://discourse.julialang.org/t/absolute-value-of-matrix/44395 "2020-08-06T13:38:32Z")

</div>

How to define the absolute value of all elements in the matrix? using JuMP,Gurobi model = Model(Gurobi.Optimizer); model=Model(Gurobi.Optimizer) T=24 @variable(model, 2 \<= a\[1:T,1:3\]\<= 2.5, Int) @variable(model,-1\<…

---

## [Axis ticks on top and right](https://discourse.julialang.org/t/axis-ticks-on-top-and-right/44416)

<div class="topic-metadata">

**Author:** [@SymKo](https://discourse.julialang.org/u/SymKo)\
**Replies:** 1\
**Last updated:** [August 6, 2020, 12:44pm UTC](https://discourse.julialang.org/t/axis-ticks-on-top-and-right/44416 "2020-08-06T12:44:21Z")

</div>

Hello, how to create axis xticks and yticks on top and right, the same like left and bottom with logarythmic scale? I don’t want to create second axis and define it. I’m using Plots.jl. When I’m using framestyle=:box, I…

---

## [Plotting range of columns](https://discourse.julialang.org/t/plotting-range-of-columns/43959)

<div class="topic-metadata">

**Author:** [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)\
**Replies:** 1\
**Last updated:** [August 6, 2020, 11:10am UTC](https://discourse.julialang.org/t/plotting-range-of-columns/43959 "2020-08-06T11:10:41Z")

</div>

Hello, when I use the example from GitHub - JuliaPlots/StatsPlots.jl: Statistical plotting recipes for Plots.jl using DataFrames, StatsPlots df = DataFrame(a = 1:10, b = 10 .\* rand(10), c = 10 .\* rand(10)) @df df plot(:…

---

## [View of LowerMatrix is not working with ldiv! and mul!](https://discourse.julialang.org/t/view-of-lowermatrix-is-not-working-with-ldiv-and-mul/44046)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 5\
**Last updated:** [August 6, 2020, 7:44am UTC](https://discourse.julialang.org/t/view-of-lowermatrix-is-not-working-with-ldiv-and-mul/44046 "2020-08-06T07:44:32Z")

</div>

Hello, I am computed a large Cholesky factor L \\in R^{N,N}, and I would like to multiply and divide an array of dimension n, M with n \\leq N. I would like to use view(L,1:n,1:n) but ldiv!, mul! are not defined for views…

---

## [Cross correlation with StatsBase.crosscor answer does not make sense](https://discourse.julialang.org/t/cross-correlation-with-statsbase-crosscor-answer-does-not-make-sense/44374)

<div class="topic-metadata">

**Author:** [@Ruan\_Stander](https://discourse.julialang.org/u/Ruan_Stander)\
**Replies:** 1\
**Last updated:** [August 6, 2020, 1:55am UTC](https://discourse.julialang.org/t/cross-correlation-with-statsbase-crosscor-answer-does-not-make-sense/44374 "2020-08-06T01:55:58Z")

</div>

Using StatsBase.crosscor and finding unexpected answers Example below: answer below is 0.66666 and I think it should be 1 since crosscor calculates the correlation of numone with the 1 lag correlation of numtwo which i…

---

## [How to model a \<= 1/b](https://discourse.julialang.org/t/how-to-model-a-1-b/44370)

<div class="topic-metadata">

**Author:** [@sobhan](https://discourse.julialang.org/u/sobhan)\
**Replies:** 5\
**Last updated:** [August 5, 2020, 10:42pm UTC](https://discourse.julialang.org/t/how-to-model-a-1-b/44370 "2020-08-05T22:42:15Z")

</div>

i know we can write a \\geq \\frac{1}{b} as \[a +b, a - b, 2\] in SecondOrderCone() or a + b \\geq ||(a-b, 2)||\_2 But how can i rewrite a \\leq \\frac{1}{b} with Second Order cones, power cones, exponential cones, basically an…

---

## [GLMM - Cholesky factorization failed](https://discourse.julialang.org/t/glmm-cholesky-factorization-failed/43925)

<div class="topic-metadata">

**Author:** [@laut](https://discourse.julialang.org/u/laut)\
**Replies:** 9\
**Last updated:** [August 5, 2020, 5:59pm UTC](https://discourse.julialang.org/t/glmm-cholesky-factorization-failed/43925 "2020-08-05T17:59:35Z")

</div>

I’m not sure what I’m doing wrong here to fit a Generalized Linear Mixed Model (@dmbates): using CSV, DataFrames, Statsbase, MixedModels orange = DataFrame(CSV.read(download(“https://raw.githubusercontent.com/timothys…

---

## [BilevelJuMP: Best way to initialize primal and dual problem](https://discourse.julialang.org/t/bileveljump-best-way-to-initialize-primal-and-dual-problem/44276)

<div class="topic-metadata">

**Author:** [@davide-f](https://discourse.julialang.org/u/davide-f)\
**Replies:** 1\
**Last updated:** [August 5, 2020, 2:09pm UTC](https://discourse.julialang.org/t/bileveljump-best-way-to-initialize-primal-and-dual-problem/44276 "2020-08-05T14:09:18Z")

</div>

Dear Community, I have a relatively large bilevel optimization problem that I’m trying to solve with BilevelJuMP; however it is very slow in reaching a feasible solution. I am using the FortuntyAmat mode, aiming to fas…

---

## [JUMP - Get MIP Gap during optimization](https://discourse.julialang.org/t/jump-get-mip-gap-during-optimization/44258)

<div class="topic-metadata">

**Author:** [@Tmart](https://discourse.julialang.org/u/Tmart)\
**Replies:** 5\
**Last updated:** [August 5, 2020, 2:05pm UTC](https://discourse.julialang.org/t/jump-get-mip-gap-during-optimization/44258 "2020-08-05T14:05:38Z")

</div>

Hello, I was wondering if it was possible to obtain the value of the MIP Gap at each step of the optimization process. Thank you in advance, KR

---

## [Benchmark of numerical integration packages for multi-dimensional integration](https://discourse.julialang.org/t/benchmark-of-numerical-integration-packages-for-multi-dimensional-integration/44273)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 4\
**Last updated:** [August 5, 2020, 10:33am UTC](https://discourse.julialang.org/t/benchmark-of-numerical-integration-packages-for-multi-dimensional-integration/44273 "2020-08-05T10:33:11Z")

</div>

Hello, I need to integrate a vector valued function F: \\mathbb{R} \\xrightarrow{} \\mathbb{R}^n, with n \\sim 5000 over \[0.0, 1.0\]. I don’t need to very accurate result, an error estimate of 1e-6 is sufficient for my appli…

---

## [Confused: MbedTLS broken on GitHub Actions with identical code](https://discourse.julialang.org/t/confused-mbedtls-broken-on-github-actions-with-identical-code/44282)

<div class="topic-metadata">

**Author:** [@fonsp](https://discourse.julialang.org/u/fonsp)\
**Replies:** 1\
**Last updated:** [August 4, 2020, 7:45pm UTC](https://discourse.julialang.org/t/confused-mbedtls-broken-on-github-actions-with-identical-code/44282 "2020-08-04T19:45:30Z")

</div>

My CI tests fail consistently since today, even though no code changed. Comparing the manifests before and after, all dependencies have the same version. The error is: ERROR: LoadError: ArgumentError: Package MbedTLS d…

---

## [Adding legend label to contour plot](https://discourse.julialang.org/t/adding-legend-label-to-contour-plot/44280)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 0\
**Last updated:** [August 4, 2020, 6:49pm UTC](https://discourse.julialang.org/t/adding-legend-label-to-contour-plot/44280 "2020-08-04T18:49:22Z")

</div>

I’m using contour to plot a level set with the command: contour(-3:0.01:3, -3:0.01:3, (x,y) -\> max(abs(x-y), abs(x), abs(y)), levels=\[2.0\], colorbar=false, color = cgrad(\[:blue,:blue\]),lw=2) and I’d like to a leg…

---

## [Is any package of CFD to simulate the hydrodynamic behaviour?](https://discourse.julialang.org/t/is-any-package-of-cfd-to-simulate-the-hydrodynamic-behaviour/44251)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 7\
**Last updated:** [August 4, 2020, 3:48pm UTC](https://discourse.julialang.org/t/is-any-package-of-cfd-to-simulate-the-hydrodynamic-behaviour/44251 "2020-08-04T15:48:38Z")

</div>

Is any package to simulate the hydrodynamic behaviour of a bioreactor with a impeller? PS Something like ANSYS Fluent/THINK Fluid Dynamix.

---

## [Unable to build SCIP](https://discourse.julialang.org/t/unable-to-build-scip/44261)

<div class="topic-metadata">

**Author:** [@musman](https://discourse.julialang.org/u/musman)\
**Replies:** 1\
**Last updated:** [August 4, 2020, 3:45pm UTC](https://discourse.julialang.org/t/unable-to-build-scip/44261 "2020-08-04T15:45:04Z")

</div>

Hi, I am unable to install SCIP package 0.9.4 and receiving the following error. Blockquote add SCIP@v0.9.4 Updating registry at C:\\Users\\usman\\.juliapro\\JuliaPro\_v1.4.2-1\\registries\\JuliaPro Resolving package versi…

---

## [Fresh julia 1.5 install and turing error](https://discourse.julialang.org/t/fresh-julia-1-5-install-and-turing-error/44255)

<div class="topic-metadata">

**Author:** [@spinkney](https://discourse.julialang.org/u/spinkney)\
**Replies:** 3\
**Last updated:** [August 4, 2020, 1:28pm UTC](https://discourse.julialang.org/t/fresh-julia-1-5-install-and-turing-error/44255 "2020-08-04T13:28:04Z")

</div>

Just installed Julia 1.5 on macbook pro running catalina 10.15.6. I did import Pkg; Pkg.add("Turing") along with StatsPlots and Random. I then tried the demo in the turing manual and get an error right away: julia\> usin…

---

## [Problem with the xticks property when saving a plot, which worked a few days ago](https://discourse.julialang.org/t/problem-with-the-xticks-property-when-saving-a-plot-which-worked-a-few-days-ago/44207)

<div class="topic-metadata">

**Author:** [@wg030](https://discourse.julialang.org/u/wg030)\
**Replies:** 1\
**Last updated:** [August 4, 2020, 10:12am UTC](https://discourse.julialang.org/t/problem-with-the-xticks-property-when-saving-a-plot-which-worked-a-few-days-ago/44207 "2020-08-04T10:12:36Z")

</div>

Hey guys, I have a problem with a piece of plotting code, that previously worked like a charm, but creates an error due to some of the latest updates now. Here is a MWE: using Plots using PyPlot x = 0:100 y = x pypl…

---

## [\[ANN\] SPICE.jl: A wrapper for NASA‘s SPICE toolkit](https://discourse.julialang.org/t/ann-spice-jl-a-wrapper-for-nasa-s-spice-toolkit/23381)

<div class="topic-metadata">

**Author:** [@helgee](https://discourse.julialang.org/u/helgee)\
**Replies:** 7\
**Last updated:** [August 4, 2020, 6:32am UTC](https://discourse.julialang.org/t/ann-spice-jl-a-wrapper-for-nasa-s-spice-toolkit/23381 "2020-08-04T06:32:11Z")

</div>

Hi y‘all, Finally I am happy to announce the SPICE.jl wrapper for the SPICE toolkit which is provided by NASA’s Navigation and Ancillary Information Facility (NAIF) and provides functionality to read SPICE data files an…

---

## [Surprising capture boxing behavior in closure](https://discourse.julialang.org/t/surprising-capture-boxing-behavior-in-closure/20254)

<div class="topic-metadata">

**Author:** [@NHDaly](https://discourse.julialang.org/u/NHDaly)\
**Replies:** 9\
**Last updated:** [August 4, 2020, 3:51am UTC](https://discourse.julialang.org/t/surprising-capture-boxing-behavior-in-closure/20254 "2020-08-04T03:51:31Z")

</div>

Hi, I was surprised by the boxing behavior of closure capture, and I’d love to hear about its motivation and discuss whether it’s still relevant. I came across this when I noticed how it can introduce a race condition i…

---

## [Animate Plot with Many Frames Quickly with Makie](https://discourse.julialang.org/t/animate-plot-with-many-frames-quickly-with-makie/44094)

<div class="topic-metadata">

**Author:** [@tross](https://discourse.julialang.org/u/tross)\
**Replies:** 4\
**Last updated:** [August 3, 2020, 10:35pm UTC](https://discourse.julialang.org/t/animate-plot-with-many-frames-quickly-with-makie/44094 "2020-08-03T22:35:51Z")

</div>

I have a data set where thousands of points are moving around over time with thousands of time steps. The problem I am having is that it is taking a very long time to generate the movie. I’ve been making the movies with…

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

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