# Specific Domains

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

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

**Page:** 421

---

## [How to implement LSTM base meta relearning by Flux?](https://discourse.julialang.org/t/how-to-implement-lstm-base-meta-relearning-by-flux/47164)

<div class="topic-metadata">

**Author:** [@nuclear718](https://discourse.julialang.org/u/nuclear718)\
**Replies:** 0\
**Last updated:** [September 23, 2020, 11:38pm UTC](https://discourse.julialang.org/t/how-to-implement-lstm-base-meta-relearning-by-flux/47164 "2020-09-23T23:38:32Z")

</div>

In LSTM meta learning approach, we have a base leaner and update base learner’s parameters by another learner (single cell LSTM). The base learner’s parameters is LSTM’s cell state and will input LSTM one by one, the ou…

---

## [Solution foun by heuristic GLPK](https://discourse.julialang.org/t/solution-foun-by-heuristic-glpk/38772)

<div class="topic-metadata">

**Author:** [@lausilvag](https://discourse.julialang.org/u/lausilvag)\
**Replies:** 9\
**Last updated:** [September 23, 2020, 8:04pm UTC](https://discourse.julialang.org/t/solution-foun-by-heuristic-glpk/38772 "2020-09-23T20:04:30Z")

</div>

Hi guys! I am using GLPK solver for a MIP. The output terminal shows me the next information: GLPK Simplex Optimizer, v4.64 16 rows, 120 columns, 800 non-zeros 1: obj = 4.548322148e+003 inf = 0.000e+000 (0) 9: o…

---

## [Custom priors in Soss](https://discourse.julialang.org/t/custom-priors-in-soss/47076)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 6\
**Last updated:** [September 23, 2020, 8:23pm UTC](https://discourse.julialang.org/t/custom-priors-in-soss/47076 "2020-09-23T20:23:40Z")

</div>

On Slack, Jonatan Werpers asks, How can I use a custom prior with a model? Basically I want to do something like: my\_pdf(θ) = .... m = @model n begin θ ~ my\_pdf x ~ Bernoulli(θ) |\> iid(n) end Generally, you’…

---

## [Availabilty of Hypatia.jl solver](https://discourse.julialang.org/t/availabilty-of-hypatia-jl-solver/47131)

<div class="topic-metadata">

**Author:** [@martincornejo](https://discourse.julialang.org/u/martincornejo)\
**Replies:** 2\
**Last updated:** [September 23, 2020, 12:14pm UTC](https://discourse.julialang.org/t/availabilty-of-hypatia-jl-solver/47131 "2020-09-23T12:14:01Z")

</div>

I was very excited to learned about the Hypatia.jl solver from the JuliaCon keynote of Juan Pablo Vielma and this JuMP-dev 2019 workshop from Chris Coey. However I haven’t found any repository or further information on i…

---

## [DataFrames Complexity](https://discourse.julialang.org/t/dataframes-complexity/47069)

<div class="topic-metadata">

**Author:** [@NafQan](https://discourse.julialang.org/u/NafQan)\
**Replies:** 5\
**Last updated:** [September 23, 2020, 9:06am UTC](https://discourse.julialang.org/t/dataframes-complexity/47069 "2020-09-23T09:06:18Z")

</div>

Sorry for being blunt, but a question that I am having for a while now and is in someway bothering me: Is there anything that DataFrames.jl does which can’t be done with arrays and matrices in a more efficient, less com…

---

## [Concurrency violation on interplay between Distributed and Base.Threads](https://discourse.julialang.org/t/concurrency-violation-on-interplay-between-distributed-and-base-threads/47080)

<div class="topic-metadata">

**Author:** [@jonas-schulze](https://discourse.julialang.org/u/jonas-schulze)\
**Replies:** 4\
**Last updated:** [September 23, 2020, 7:24am UTC](https://discourse.julialang.org/t/concurrency-violation-on-interplay-between-distributed-and-base-threads/47080 "2020-09-23T07:24:03Z")

</div>

I’m working on a distributed pipeline algorithm that uses several stages per worker process. IIRC tasks cannot hop between threads once they’ve been scheduled. Since I want my stages to potentially run in parallel, I tri…

---

## [Current state of PopGen.jl](https://discourse.julialang.org/t/current-state-of-popgen-jl/41616)

<div class="topic-metadata">

**Author:** [@pdimens](https://discourse.julialang.org/u/pdimens)\
**Replies:** 18\
**Last updated:** [September 23, 2020, 12:41am UTC](https://discourse.julialang.org/t/current-state-of-popgen-jl/41616 "2020-09-23T00:41:48Z")

</div>

Hello all, For the past (I honestly don’t know how many) months, I’ve been writing and rewriting my fork of PopGen.jl (found here). The vast majority of the work involved was establishing a data structure and a million…

---

## [Problem with CPLEX lazy callback and JuMP](https://discourse.julialang.org/t/problem-with-cplex-lazy-callback-and-jump/47090)

<div class="topic-metadata">

**Author:** [@dragond4](https://discourse.julialang.org/u/dragond4)\
**Replies:** 2\
**Last updated:** [September 22, 2020, 8:59pm UTC](https://discourse.julialang.org/t/problem-with-cplex-lazy-callback-and-jump/47090 "2020-09-22T20:59:21Z")

</div>

Hi! When trying to use lazy callbacks in JuMP I get the following error if CPLEX is used as solver: ERROR: LoadError: TypeError: in typeassert, expected Tuple{CPLEX.Model,Function}, got a value of type Tuple{UInt64,In…

---

## [Lazy representation of x^T A x](https://discourse.julialang.org/t/lazy-representation-of-x-t-a-x/47087)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 6\
**Last updated:** [September 22, 2020, 8:36pm UTC](https://discourse.julialang.org/t/lazy-representation-of-x-t-a-x/47087 "2020-09-22T20:36:21Z")

</div>

Hello, I have a complicated code (nested calls to subroutines) that computes an expression of the form x^T A x, where A is not necessarily PSD. Is it possible to construct a lazy representation of A, in the same spirit …

---

## [Julia PPL survey paper?](https://discourse.julialang.org/t/julia-ppl-survey-paper/44879)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 15\
**Last updated:** [September 22, 2020, 8:29pm UTC](https://discourse.julialang.org/t/julia-ppl-survey-paper/44879 "2020-09-22T20:29:02Z")

</div>

Would it be feasible for the Julia PPL community to collaborate on a survey article? It could cover things like Why Julia is great for PPL Overview of current approaches and the general design space Opportunities for “…

---

## [Jump Xpress - Problem with "MAXTIME" parameter](https://discourse.julialang.org/t/jump-xpress-problem-with-maxtime-parameter/45821)

<div class="topic-metadata">

**Author:** [@Tmart](https://discourse.julialang.org/u/Tmart)\
**Replies:** 10\
**Last updated:** [September 22, 2020, 3:22pm UTC](https://discourse.julialang.org/t/jump-xpress-problem-with-maxtime-parameter/45821 "2020-09-22T15:22:41Z")

</div>

Hello, When I set the parameter “MAXTIME” for a optimization problem in JUMP with the XPress solver, I have the error “DimensionMismatch(“array could not be broadcast to match destination”)”. However, in the output file…

---

## [Plot the following table Please](https://discourse.julialang.org/t/plot-the-following-table-please/46714)

<div class="topic-metadata">

**Author:** [@Mun\_Barimukh](https://discourse.julialang.org/u/Mun_Barimukh)\
**Replies:** 13\
**Last updated:** [September 22, 2020, 2:36pm UTC](https://discourse.julialang.org/t/plot-the-following-table-please/46714 "2020-09-22T14:36:00Z")

</div>

\[{“metadata”:{“trusted”:true},“cell\_type”:“code”,“source”:“using DataFrames;df = DataFrame(m)”,“execution\_count”:14,“outputs”:\[{“data”:{“text/html”:" 40 rows × 3 columns (omitted printing of 1 columns) shoename sh…

---

## [Define/plot robot workspace](https://discourse.julialang.org/t/define-plot-robot-workspace/47026)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 1\
**Last updated:** [September 22, 2020, 1:09pm UTC](https://discourse.julialang.org/t/define-plot-robot-workspace/47026 "2020-09-22T13:09:17Z")

</div>

Hi, I would like to have advice about what packages might I look at, in order to visualize the workspace of a robot, as done with Matlab in this paper. It’s not necessary to solve the whole problem. Say I already have t…

---

## [Intersection and union of polygons - IoU Metric](https://discourse.julialang.org/t/intersection-and-union-of-polygons-iou-metric/45506)

<div class="topic-metadata">

**Author:** [@maxfreu](https://discourse.julialang.org/u/maxfreu)\
**Replies:** 2\
**Last updated:** [September 22, 2020, 11:47am UTC](https://discourse.julialang.org/t/intersection-and-union-of-polygons-iou-metric/45506 "2020-09-22T11:47:22Z")

</div>

Hi! I would like to compute the intersection over union metric for polygons (concave polygons with holes). Is there a package which implements calculating the intersecting polygon, the union polygon as well as their are…

---

## [Can the CuArray/CuPtr in CUDA.jl be directly passed to foreign functions?](https://discourse.julialang.org/t/can-the-cuarray-cuptr-in-cuda-jl-be-directly-passed-to-foreign-functions/46939)

<div class="topic-metadata">

**Author:** [@weylspinor](https://discourse.julialang.org/u/weylspinor)\
**Replies:** 2\
**Last updated:** [September 22, 2020, 11:44am UTC](https://discourse.julialang.org/t/can-the-cuarray-cuptr-in-cuda-jl-be-directly-passed-to-foreign-functions/46939 "2020-09-22T11:44:10Z")

</div>

Hi, I am just wondering if there is any way to directly pass CuArrays or CuPtr in CUDA.jl to C/C++, like passing Core.Array or Core.Ref. For example, I would like to define a C function which gets a device memory pointe…

---

## [Modify FASTQ file description with a new string using FASTX](https://discourse.julialang.org/t/modify-fastq-file-description-with-a-new-string-using-fastx/46672)

<div class="topic-metadata">

**Author:** [@Gopi1616](https://discourse.julialang.org/u/Gopi1616)\
**Replies:** 3\
**Last updated:** [September 22, 2020, 8:51am UTC](https://discourse.julialang.org/t/modify-fastq-file-description-with-a-new-string-using-fastx/46672 "2020-09-22T08:51:53Z")

</div>

Hi, I am a python programmer and new to Julia. One of the tasks I am working on needs modification of description lines in Fastq sequence files. Doing this in python was pretty time-consuming. So wanted to try the same …

---

## [Using Dualization](https://discourse.julialang.org/t/using-dualization/47036)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 1\
**Last updated:** [September 21, 2020, 8:40pm UTC](https://discourse.julialang.org/t/using-dualization/47036 "2020-09-21T20:40:54Z")

</div>

I would like to pass this model to Dual but I still haven’t got it. Could someone help me? Thank you! using JuMP, Cbc, Dualization FabricaBrinquedos = Model(dual\_optimizer(Cbc.Optimizer))#When I try to compile using d…

---

## [Add mesh to gadfly spy plot](https://discourse.julialang.org/t/add-mesh-to-gadfly-spy-plot/47033)

<div class="topic-metadata">

**Author:** [@Igor\_Douven](https://discourse.julialang.org/u/Igor_Douven)\
**Replies:** 0\
**Last updated:** [September 21, 2020, 7:06pm UTC](https://discourse.julialang.org/t/add-mesh-to-gadfly-spy-plot/47033 "2020-09-21T19:06:51Z")

</div>

Hi all, I’m trying to add a mesh grid to a Gadfly spy plot. I thought that I might be able to define a grid and add this as a layer to the plot, but that doesn’t work (or I’m doing something wrong). Does anyone know whe…

---

## [GP-LVM with Turing?](https://discourse.julialang.org/t/gp-lvm-with-turing/47007)

<div class="topic-metadata">

**Author:** [@opera\_malenky](https://discourse.julialang.org/u/opera_malenky)\
**Replies:** 5\
**Last updated:** [September 21, 2020, 5:52pm UTC](https://discourse.julialang.org/t/gp-lvm-with-turing/47007 "2020-09-21T17:52:54Z")

</div>

I saw some of the recent posts these last few weeks about implementing gaussian processes in Turing. I’ve really been wanting to play around with GP-LVMs for a while (in particular, as part of a larger model), so I took …

---

## [Help speeding up and reducing numerical errors for simple epidemic model with Turing.jl](https://discourse.julialang.org/t/help-speeding-up-and-reducing-numerical-errors-for-simple-epidemic-model-with-turing-jl/46614)

<div class="topic-metadata">

**Author:** [@MFairley](https://discourse.julialang.org/u/MFairley)\
**Replies:** 9\
**Last updated:** [September 21, 2020, 3:42pm UTC](https://discourse.julialang.org/t/help-speeding-up-and-reducing-numerical-errors-for-simple-epidemic-model-with-turing-jl/46614 "2020-09-21T15:42:26Z")

</div>

I’m trying to fit a simple epidemic model that starts at some unknown time and then the prevalence of infection progresses according to a logistic curve. The data provided are Binomial with a known sample size. I generat…

---

## [Trying to run ARM based GLPK solver using JuMP on a RaspbaerryPi](https://discourse.julialang.org/t/trying-to-run-arm-based-glpk-solver-using-jump-on-a-raspbaerrypi/46716)

<div class="topic-metadata">

**Author:** [@BenjaminBastidas](https://discourse.julialang.org/u/BenjaminBastidas)\
**Replies:** 11\
**Last updated:** [September 21, 2020, 3:24pm UTC](https://discourse.julialang.org/t/trying-to-run-arm-based-glpk-solver-using-jump-on-a-raspbaerrypi/46716 "2020-09-21T15:24:35Z")

</div>

Hi everyone, first time posting, I have a problem I need help with, hope someone can help me. What I’m trying to do is to run an optimization problem using a RaspberryPi 4. To accomplish this I’m using JuMP and GLPK sol…

---

## [Spindle : Scalable Parallel Input Network for Dynamic Load Environments](https://discourse.julialang.org/t/spindle-scalable-parallel-input-network-for-dynamic-load-environments/47013)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 0\
**Last updated:** [September 21, 2020, 2:37pm UTC](https://discourse.julialang.org/t/spindle-scalable-parallel-input-network-for-dynamic-load-environments/47013 "2020-09-21T14:37:08Z")

</div>

From Todd Gamblin on Twitter: I keep reading papers saying containers are the only path to scalable python/shared lib loading. Large HPC jobs can DDOS filesystems by loading many libs/.py files. Spindle solves this gene…

---

## [CUDA Array broadcasting: possible to use a different stream for a code block?](https://discourse.julialang.org/t/cuda-array-broadcasting-possible-to-use-a-different-stream-for-a-code-block/46845)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 2\
**Last updated:** [September 21, 2020, 8:31am UTC](https://discourse.julialang.org/t/cuda-array-broadcasting-possible-to-use-a-different-stream-for-a-code-block/46845 "2020-09-21T08:31:28Z")

</div>

I am wondering if it is possible somehow to specify the stream for a code block with array computations that rely on CuArray’s broadcasting capability as e.g. A .= A .+ B in this snippet: using CUDA A = CUDA.zeros(2,3) …

---

## [I'm learning Julia through developing a project, feel free to review!](https://discourse.julialang.org/t/im-learning-julia-through-developing-a-project-feel-free-to-review/46979)

<div class="topic-metadata">

**Author:** [@kapple](https://discourse.julialang.org/u/kapple)\
**Replies:** 3\
**Last updated:** [September 21, 2020, 8:30am UTC](https://discourse.julialang.org/t/im-learning-julia-through-developing-a-project-feel-free-to-review/46979 "2020-09-21T08:30:33Z")

</div>

Hi all, Just wanted to put myself out there through advertising one of the projects I’m working on. I’m not sure if this is an appropriate place to promote this, if so feel free to remove this post. In just a few month…

---

## [How to connect gaps when Plotting](https://discourse.julialang.org/t/how-to-connect-gaps-when-plotting/46834)

<div class="topic-metadata">

**Author:** [@CaoHua](https://discourse.julialang.org/u/CaoHua)\
**Replies:** 2\
**Last updated:** [September 21, 2020, 3:55am UTC](https://discourse.julialang.org/t/how-to-connect-gaps-when-plotting/46834 "2020-09-21T03:55:21Z")

</div>

Dears, How can I plot a line chart with no gaps (missing values)? I want the gaps (missing values) in the provided data arrays are connected. I am using Plots to draw the line chart. Many thanks for your help. Best …

---

## [JuMP 0.21.5 released](https://discourse.julialang.org/t/jump-0-21-5-released/46976)

<div class="topic-metadata">

**Author:** [@odow](https://discourse.julialang.org/u/odow)\
**Replies:** 0\
**Last updated:** [September 21, 2020, 2:40am UTC](https://discourse.julialang.org/t/jump-0-21-5-released/46976 "2020-09-21T02:40:29Z")

</div>

Dear all, We are happy to announce the joint release of JuMP 0.21.5 and MathOptInterface 0.9.17! These releases are a mix of new features and some much needed performance optimizations. This should be a non-breaking rel…

---

## [Plots: bars side by side](https://discourse.julialang.org/t/plots-bars-side-by-side/6655)

<div class="topic-metadata">

**Author:** [@kaslusimoes](https://discourse.julialang.org/u/kaslusimoes)\
**Replies:** 14\
**Last updated:** [September 20, 2020, 9:46am UTC](https://discourse.julialang.org/t/plots-bars-side-by-side/6655 "2020-09-20T09:46:58Z")

</div>

Hi there, I’m using Plots.jl (with PyPlot as the backend) and trying to plot some bars side by side, as in the following example from matplotlib: http://matplotlib.org/examples/api/barchart\_demo.html (figure below) L…

---

## [How to get the rendered window size when directly using PlotlyJS](https://discourse.julialang.org/t/how-to-get-the-rendered-window-size-when-directly-using-plotlyjs/26610)

<div class="topic-metadata">

**Author:** [@kobussch](https://discourse.julialang.org/u/kobussch)\
**Replies:** 1\
**Last updated:** [September 19, 2020, 3:57pm UTC](https://discourse.julialang.org/t/how-to-get-the-rendered-window-size-when-directly-using-plotlyjs/26610 "2020-09-19T15:57:37Z")

</div>

I am using Spencer Lyon’s PlotlyJS package as basis for an interactive data visualization tool. It is fantastic, but I am stuck on a particular issue: how to get the rendered size of the plot area (in pixels) when it is …

---

## [How to make if in the objective function](https://discourse.julialang.org/t/how-to-make-if-in-the-objective-function/46859)

<div class="topic-metadata">

**Author:** [@sogrbilja](https://discourse.julialang.org/u/sogrbilja)\
**Replies:** 14\
**Last updated:** [September 19, 2020, 10:53am UTC](https://discourse.julialang.org/t/how-to-make-if-in-the-objective-function/46859 "2020-09-19T10:53:22Z")

</div>

Here is the function @objective( prmx, Min, sum( sum( UNITS\[u\_k\]\["cap"\] - sum( PRODAMOUNT\[op\_k, u\_k, t\] \* \_PRODUCTs…

---

## [Model updating: Using previously computed posterior as prior after new data acquisition](https://discourse.julialang.org/t/model-updating-using-previously-computed-posterior-as-prior-after-new-data-acquisition/46869)

<div class="topic-metadata">

**Author:** [@Camilo1704](https://discourse.julialang.org/u/Camilo1704)\
**Replies:** 3\
**Last updated:** [September 18, 2020, 8:38pm UTC](https://discourse.julialang.org/t/model-updating-using-previously-computed-posterior-as-prior-after-new-data-acquisition/46869 "2020-09-18T20:38:51Z")

</div>

Hi guys! I’m working with some models using a bayesian framework (Soss and Turing). I was wondering, once I have already contrasted my prior with the data and obtained the posterior distribution, how to add more data and…

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

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