# Specific Domains

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

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

**Page:** 486

---

## [JuMP v0.19.2 ⇒ v0.18.6](https://discourse.julialang.org/t/jump-v0-19-2-v0-18-6/27917)

<div class="topic-metadata">

**Author:** [@raktim](https://discourse.julialang.org/u/raktim)\
**Replies:** 3\
**Last updated:** [August 26, 2019, 1:57pm UTC](https://discourse.julialang.org/t/jump-v0-19-2-v0-18-6/27917 "2019-08-26T13:57:09Z")

</div>

Just installed Julia 1.2 along with JuMP and other packages. Did an update and noticed that JuMP was downgraded from version v0.19.2 ⇒ v0.18.6. Not sure why this is happening. Any clues?

---

## [JuMPeR installation problem with juliaPro-0.5.1.1](https://discourse.julialang.org/t/jumper-installation-problem-with-juliapro-0-5-1-1/2930)

<div class="topic-metadata">

**Author:** [@Ayse\_Nur\_Arslan](https://discourse.julialang.org/u/Ayse_Nur_Arslan)\
**Replies:** 3\
**Last updated:** [August 26, 2019, 1:31pm UTC](https://discourse.julialang.org/t/jumper-installation-problem-with-juliapro-0-5-1-1/2930 "2019-08-26T13:31:33Z")

</div>

Hello, I get the following error message when attempting to add the JuMPeR package using juliaPro-0.5.1.1 with the command Pkg.add(“JuMPeR”): ERROR: unsatisfiable package requirements detected: no feasible version cou…

---

## [Error requiring CuArrays from Flux](https://discourse.julialang.org/t/error-requiring-cuarrays-from-flux/27975)

<div class="topic-metadata">

**Author:** [@Lyupinpin](https://discourse.julialang.org/u/Lyupinpin)\
**Replies:** 2\
**Last updated:** [August 26, 2019, 8:45am UTC](https://discourse.julialang.org/t/error-requiring-cuarrays-from-flux/27975 "2019-08-26T08:45:35Z")

</div>

When I use the CuArrays, some warning always confuse me like, using CuArrays ┌ Warning: Error requiring CuArrays from Flux: │ LoadError: LoadError: UndefVarError: libcudnn not defined │ Stacktrace: │ \[1\] include at ./b…

---

## [My experiences reading CSVs from the Fannie Mae datasets](https://discourse.julialang.org/t/my-experiences-reading-csvs-from-the-fannie-mae-datasets/8737)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 62\
**Last updated:** [August 26, 2019, 7:41am UTC](https://discourse.julialang.org/t/my-experiences-reading-csvs-from-the-fannie-mae-datasets/8737 "2019-08-26T07:41:02Z")

</div>

I am pretty excited about the Fannie Mae data being released so I tried to load the data into Julia. Unfortunately, it’s too much work trying to produce a MWE as being able to load large datasets is part of the point. Bu…

---

## [Transposing player orders in a linear constraint](https://discourse.julialang.org/t/transposing-player-orders-in-a-linear-constraint/27945)

<div class="topic-metadata">

**Author:** [@Saggaa](https://discourse.julialang.org/u/Saggaa)\
**Replies:** 3\
**Last updated:** [August 26, 2019, 7:30am UTC](https://discourse.julialang.org/t/transposing-player-orders-in-a-linear-constraint/27945 "2019-08-26T07:30:28Z")

</div>

Hello everyone! I am currently learning Julia in college and i would need your expert help to better define a linear constraint in the frame of an assignment. Our professor is passionate about MLB and our assignment is…

---

## [Common interface for chunked arrays?](https://discourse.julialang.org/t/common-interface-for-chunked-arrays/26009)

<div class="topic-metadata">

**Author:** [@fabiangans](https://discourse.julialang.org/u/fabiangans)\
**Replies:** 10\
**Last updated:** [August 26, 2019, 6:56am UTC](https://discourse.julialang.org/t/common-interface-for-chunked-arrays/26009 "2019-08-26T06:56:16Z")

</div>

Hi all, there is quite a zoo of data formats that allow you to store multidimensional arrays tiled into chunks, with or without compression. Examples are HDF5.jl, NetCDF.jl, Zarr.jl, or BigArrays.jl, maybe there will be…

---

## [Trouble creating new column in grouped object](https://discourse.julialang.org/t/trouble-creating-new-column-in-grouped-object/27982)

<div class="topic-metadata">

**Author:** [@tlnagy](https://discourse.julialang.org/u/tlnagy)\
**Replies:** 1\
**Last updated:** [August 26, 2019, 5:15am UTC](https://discourse.julialang.org/t/trouble-creating-new-column-in-grouped-object/27982 "2019-08-26T05:15:28Z")

</div>

using Query using DataFrames ex\_df = DataFrame(id = \[1,1,1,2,2,2,2\], trip= \["a", "a", "b", "a", "a", "b", "b"\], values=rand(7)) function consect(d) # 0 if consecutive values are the same, 1 otherwise Int.(view(…

---

## [JuliaDiffEq with custom types](https://discourse.julialang.org/t/juliadiffeq-with-custom-types/16294)

<div class="topic-metadata">

**Author:** [@mzilhao](https://discourse.julialang.org/u/mzilhao)\
**Replies:** 28\
**Last updated:** [August 25, 2019, 10:37pm UTC](https://discourse.julialang.org/t/juliadiffeq-with-custom-types/16294 "2019-08-25T22:37:18Z")

</div>

i’m writing a program where i’m using my own array type, and i’d like to use DifferentialEquations to solve some ODEs that show up. i was under the impression that it should work with any AbstractArray, but this is eithe…

---

## [Module idea for helping calculate large sparse Jacobians](https://discourse.julialang.org/t/module-idea-for-helping-calculate-large-sparse-jacobians/27941)

<div class="topic-metadata">

**Author:** [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Replies:** 5\
**Last updated:** [August 25, 2019, 7:43pm UTC](https://discourse.julialang.org/t/module-idea-for-helping-calculate-large-sparse-jacobians/27941 "2019-08-25T19:43:57Z")

</div>

I’ve put together a minimal, tiny draft of a project idea I had. It’s about helping to work with large structured models, the kind of thing you might use g2o for (and I imagine similar things might exist for FEM). Basica…

---

## [Overwrite partial DataFrame Row with new Array](https://discourse.julialang.org/t/overwrite-partial-dataframe-row-with-new-array/27953)

<div class="topic-metadata">

**Author:** [@milesf](https://discourse.julialang.org/u/milesf)\
**Replies:** 3\
**Last updated:** [August 25, 2019, 10:46am UTC](https://discourse.julialang.org/t/overwrite-partial-dataframe-row-with-new-array/27953 "2019-08-25T10:46:48Z")

</div>

I’m attempting to overwrite the last two elements in a dataframe row with the contents of an array. df = DataFrame(\[1 2 3\]) df\[1,2:3\] = DataFrame(\[5 10\]) ERROR: BoundsError: attempt to access "attempt to access a data f…

---

## [(Beginner) How to access value in a DataValue](https://discourse.julialang.org/t/beginner-how-to-access-value-in-a-datavalue/27944)

<div class="topic-metadata">

**Author:** [@hmmueller](https://discourse.julialang.org/u/hmmueller)\
**Replies:** 6\
**Last updated:** [August 24, 2019, 7:47pm UTC](https://discourse.julialang.org/t/beginner-how-to-access-value-in-a-datavalue/27944 "2019-08-24T19:47:31Z")

</div>

At DataValues.jl, I am informed that " One can access or unpack the value within a DataValue either via the get(x) function, or use the x\[\] syntax." I do not know “the x\[\] syntax” - when I tried just writing (e.g.) i.key…

---

## [JuMP array or dictionary lookups](https://discourse.julialang.org/t/jump-array-or-dictionary-lookups/27937)

<div class="topic-metadata">

**Author:** [@bhalonen](https://discourse.julialang.org/u/bhalonen)\
**Replies:** 1\
**Last updated:** [August 24, 2019, 3:39pm UTC](https://discourse.julialang.org/t/jump-array-or-dictionary-lookups/27937 "2019-08-24T15:39:30Z")

</div>

Is it possible to look up values in an array or a dict using integer variables? Something like @variable(model, x, Int) # restrict x to appropriate values @constraint(model, my\_array\[x\] \<= 5) Or should a binary array …

---

## [Combine two capabilities of DataFrames.eachcol](https://discourse.julialang.org/t/combine-two-capabilities-of-dataframes-eachcol/27923)

<div class="topic-metadata">

**Author:** [@danriggins](https://discourse.julialang.org/u/danriggins)\
**Replies:** 2\
**Last updated:** [August 24, 2019, 2:38pm UTC](https://discourse.julialang.org/t/combine-two-capabilities-of-dataframes-eachcol/27923 "2019-08-24T14:38:57Z")

</div>

In the documentation for Dataframe.eachcol, I noticed these two examples: julia\> sum.(eachcol(df)) 2-element Array{Int64,1}: 10 50 julia\> collect(eachcol(df, true)) 2-element Array{Pair{Symbol,AbstractArray{T,1} wher…

---

## [Precompiling CUDAnative on login node (works on compute node)](https://discourse.julialang.org/t/precompiling-cudanative-on-login-node-works-on-compute-node/27886)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 6\
**Last updated:** [August 23, 2019, 4:07pm UTC](https://discourse.julialang.org/t/precompiling-cudanative-on-login-node-works-on-compute-node/27886 "2019-08-23T16:07:50Z")

</div>

This is a follow up of this post about building CUDAnative on login node. Building CUDAnative on the login nodes works with the master version. Now, unfortunately, comes up the next problem: how can we precompile CUDAnat…

---

## [PPL without observations as function parameters](https://discourse.julialang.org/t/ppl-without-observations-as-function-parameters/27830)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 14\
**Last updated:** [August 23, 2019, 1:50pm UTC](https://discourse.julialang.org/t/ppl-without-observations-as-function-parameters/27830 "2019-08-23T13:50:13Z")

</div>

Hi! I’m working on some changes in Soss, and they’re different than the usual way of going about PPL. Thought I’d share them here in case other are curious or have any thoughts blah blah (the usual stuff on that front) …

---

## [Cannot build CUDAnative on login node (works on compute node)](https://discourse.julialang.org/t/cannot-build-cudanative-on-login-node-works-on-compute-node/27860)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 3\
**Last updated:** [August 23, 2019, 10:34am UTC](https://discourse.julialang.org/t/cannot-build-cudanative-on-login-node-works-on-compute-node/27860 "2019-08-23T10:34:23Z")

</div>

Context I am preparing a site-wide installation of Julia with the CUDA packages (CUDAdrv, CUDAnative and CuArrays) on our GPU supercomputer. To this purpose, I am creating automated installation recipes as for all our so…

---

## [Pseudo-inverse and the backslash operator](https://discourse.julialang.org/t/pseudo-inverse-and-the-backslash-operator/27882)

<div class="topic-metadata">

**Author:** [@gmouts](https://discourse.julialang.org/u/gmouts)\
**Replies:** 3\
**Last updated:** [August 23, 2019, 10:31am UTC](https://discourse.julialang.org/t/pseudo-inverse-and-the-backslash-operator/27882 "2019-08-23T10:31:44Z")

</div>

So, I have a sparse matrix A and a vector b and I want to compute pinv(A)\*b. After reading this post I tried the following: using LinearAlgebra julia\> A = \[1 1 1; 2 2 2; 1 0 1\] 3×3 Array{Int64,2}: 1 …

---

## [PGFPlotsX.jl - xtick distance/range/count for histograms?](https://discourse.julialang.org/t/pgfplotsx-jl-xtick-distance-range-count-for-histograms/27311)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 9\
**Last updated:** [August 23, 2019, 10:26am UTC](https://discourse.julialang.org/t/pgfplotsx-jl-xtick-distance-range-count-for-histograms/27311 "2019-08-23T10:26:36Z")

</div>

This is more a general question: I have to deal with lots of histograms and I have problems setting the xticks when the option ybar interval is set, since xtick distance = {NUMBER} seems to be ignored by pgfplots. To be…

---

## [Simple bundle adjustment: array in nonlinear expression?](https://discourse.julialang.org/t/simple-bundle-adjustment-array-in-nonlinear-expression/27851)

<div class="topic-metadata">

**Author:** [@bars](https://discourse.julialang.org/u/bars)\
**Replies:** 4\
**Last updated:** [August 23, 2019, 9:27am UTC](https://discourse.julialang.org/t/simple-bundle-adjustment-array-in-nonlinear-expression/27851 "2019-08-23T09:27:49Z")

</div>

Hi there! I’m here since I find Julia, and JuMP in particular, very impressive and I suspect it should be a very good fit for SLAM (Simultaneous Localization and Mapping), where C++ is still the popular choice. In part…

---

## [Series recipe for a 3d plot or a heatmap](https://discourse.julialang.org/t/series-recipe-for-a-3d-plot-or-a-heatmap/27614)

<div class="topic-metadata">

**Author:** [@misha\_mikhasenko](https://discourse.julialang.org/u/misha_mikhasenko)\
**Replies:** 2\
**Last updated:** [August 22, 2019, 9:14pm UTC](https://discourse.julialang.org/t/series-recipe-for-a-3d-plot-or-a-heatmap/27614 "2019-08-22T21:14:53Z")

</div>

I am trying to make a recipe for a customized heatmap. However, my new seriestype is not recognized as 3d, is it seems. @recipe function f(::Type{Val{:balanceplot}}, x, y, z) zlim = max(abs.(z)...) clim := (-zli…

---

## [Subplots with Plots/pyplot()/Juno](https://discourse.julialang.org/t/subplots-with-plots-pyplot-juno/22425)

<div class="topic-metadata">

**Author:** [@tanhevg](https://discourse.julialang.org/u/tanhevg)\
**Replies:** 1\
**Last updated:** [August 22, 2019, 8:26pm UTC](https://discourse.julialang.org/t/subplots-with-plots-pyplot-juno/22425 "2019-08-22T20:26:05Z")

</div>

Hello, I am trying to get subplots to work with Plots.jl and pyplot backend. My workflow is as follows: function my\_plot() ... scatter(...) end using Plots pyplot() p1 = my\_plot(args1); p2 = my\_plot(args2); plo…

---

## [Probabilistic Programming with Turing.jl - Question about example](https://discourse.julialang.org/t/probabilistic-programming-with-turing-jl-question-about-example/27823)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 4\
**Last updated:** [August 22, 2019, 5:27pm UTC](https://discourse.julialang.org/t/probabilistic-programming-with-turing-jl-question-about-example/27823 "2019-08-22T17:27:36Z")

</div>

I’m a beginner with Turing.jl/probabilistic programming/Bayesian stats and I’m not understanding a key piece of the introductory coin-flip example in the docs and I’m hoping someone can explain it to me. I understand th…

---

## [StructJuMP](https://discourse.julialang.org/t/structjump/27797)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 2\
**Last updated:** [August 21, 2019, 3:17pm UTC](https://discourse.julialang.org/t/structjump/27797 "2019-08-21T15:17:45Z")

</div>

Any advice on how to get the extensive form from a StructuredModel?

---

## [Biostar Handbook, computational genomics, and Julia - to be or not to be?](https://discourse.julialang.org/t/biostar-handbook-computational-genomics-and-julia-to-be-or-not-to-be/25732)

<div class="topic-metadata">

**Author:** [@XVilka](https://discourse.julialang.org/u/XVilka)\
**Replies:** 23\
**Last updated:** [August 21, 2019, 2:03pm UTC](https://discourse.julialang.org/t/biostar-handbook-computational-genomics-and-julia-to-be-or-not-to-be/25732 "2019-08-21T14:03:56Z")

</div>

How many people started to learn bioinformatics with Julia, not Python? I guess not many. There is a unique opportunity to change that - one of the most recommended books for the beginners in this area is Biostar Handboo…

---

## [How can I update matrix value by using row and column vector julia](https://discourse.julialang.org/t/how-can-i-update-matrix-value-by-using-row-and-column-vector-julia/27779)

<div class="topic-metadata">

**Author:** [@Manu\_Francis](https://discourse.julialang.org/u/Manu_Francis)\
**Replies:** 2\
**Last updated:** [August 21, 2019, 3:01am UTC](https://discourse.julialang.org/t/how-can-i-update-matrix-value-by-using-row-and-column-vector-julia/27779 "2019-08-21T03:01:10Z")

</div>

Hello, I have an initialized 2D Float array as follows: proj\_img = zeros(1024,1024) I have another 2D Float array contain a specific row and column location as follows: pix\_vis\_locs= \[621 1 622 2 …

---

## [Mux.jl route vs page](https://discourse.julialang.org/t/mux-jl-route-vs-page/27431)

<div class="topic-metadata">

**Author:** [@milesf](https://discourse.julialang.org/u/milesf)\
**Replies:** 1\
**Last updated:** [August 20, 2019, 7:55pm UTC](https://discourse.julialang.org/t/mux-jl-route-vs-page/27431 "2019-08-20T19:55:58Z")

</div>

I am trying to determine best practices for using route versus page, but don’t understand the differences between these two functions. The documentation describes page as being more strict with exact request location ma…

---

## [How to get the current LP bound in an user callback (cplex)?](https://discourse.julialang.org/t/how-to-get-the-current-lp-bound-in-an-user-callback-cplex/27076)

<div class="topic-metadata">

**Author:** [@mike\_k](https://discourse.julialang.org/u/mike_k)\
**Replies:** 4\
**Last updated:** [August 20, 2019, 12:14pm UTC](https://discourse.julialang.org/t/how-to-get-the-current-lp-bound-in-an-user-callback-cplex/27076 "2019-08-20T12:14:07Z")

</div>

Dear community, I have a MIP in which I add cuts in a user callback (using JuMP 0.18.5, CPLEX 0.5, MathProgBase 0.7.7). I would like to retrieve the LP bound in the current node of the B&B tree, e.g., by doing something…

---

## [How to plot a surface with Makie by using corner points?](https://discourse.julialang.org/t/how-to-plot-a-surface-with-makie-by-using-corner-points/27707)

<div class="topic-metadata">

**Author:** [@Manu\_Francis](https://discourse.julialang.org/u/Manu_Francis)\
**Replies:** 4\
**Last updated:** [August 20, 2019, 3:28am UTC](https://discourse.julialang.org/t/how-to-plot-a-surface-with-makie-by-using-corner-points/27707 "2019-08-20T03:28:59Z")

</div>

Hi, I have x, y, z corner points of a plane as follows. x = \[-24.576 24.576 24.576 -24.576\] y = \[20.0 20.0 20.0 20.0\] z = \[-24.576 -24.576 24.576 24.576\] I am trying to plot the surface with Makie using following com…

---

## [JuliaML organization and MLJ.jl](https://discourse.julialang.org/t/juliaml-organization-and-mlj-jl/27342)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 5\
**Last updated:** [August 19, 2019, 7:49pm UTC](https://discourse.julialang.org/t/juliaml-organization-and-mlj-jl/27342 "2019-08-19T19:49:43Z")

</div>

I would like to take this opportunity to ask the community about the future of ML in Julia, and how the existing efforts interact. I am particularly interested in understanding to what extent the JuliaML organization and…

---

## [Newbie mathopt question: JuMP declare or restrain a variable to a few integers, not in a row](https://discourse.julialang.org/t/newbie-mathopt-question-jump-declare-or-restrain-a-variable-to-a-few-integers-not-in-a-row/27726)

<div class="topic-metadata">

**Author:** [@bhalonen](https://discourse.julialang.org/u/bhalonen)\
**Replies:** 2\
**Last updated:** [August 19, 2019, 7:17pm UTC](https://discourse.julialang.org/t/newbie-mathopt-question-jump-declare-or-restrain-a-variable-to-a-few-integers-not-in-a-row/27726 "2019-08-19T19:17:39Z")

</div>

I am looking to be able to declare a vector of integer variables and restrain them to 1, 2, 3 … some finite number of non sequential integers. Should I create some roundabout lookup table to interpret sequential integers…

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

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