# Specific Domains

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

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

**Page:** 532

---

## [JuMP 0.18 in julia v0.7](https://discourse.julialang.org/t/jump-0-18-in-julia-v0-7/12897)

<div class="topic-metadata">

**Author:** [@Wikunia](https://discourse.julialang.org/u/Wikunia)\
**Replies:** 4\
**Last updated:** [August 4, 2018, 9:42pm UTC](https://discourse.julialang.org/t/jump-0-18-in-julia-v0-7/12897 "2018-08-04T21:42:49Z")

</div>

Currently trying to get my head around Julia v0.7. I’m not totally sure whether JuMP 0.18 should work in v0.7 or what the current state is. Getting a bit confused with all the different versions lately (v0.6,v0.7, JuMP …

---

## [Setting a value for a variable JuMP -- set value does not work](https://discourse.julialang.org/t/setting-a-value-for-a-variable-jump-set-value-does-not-work/12861)

<div class="topic-metadata">

**Author:** [@jayce\_ram](https://discourse.julialang.org/u/jayce_ram)\
**Replies:** 1\
**Last updated:** [August 3, 2018, 3:43pm UTC](https://discourse.julialang.org/t/setting-a-value-for-a-variable-jump-set-value-does-not-work/12861 "2018-08-03T15:43:08Z")

</div>

I have a huge LP problem and I tried to set values to some variables by using setvalue(variable, value) but surprisingly I have noticed in the final result that my variables got different values than this one I have se…

---

## [MPB Callback for both heuristic solution and lazy constraint](https://discourse.julialang.org/t/mpb-callback-for-both-heuristic-solution-and-lazy-constraint/12815)

<div class="topic-metadata">

**Author:** [@mbesancon](https://discourse.julialang.org/u/mbesancon)\
**Replies:** 1\
**Last updated:** [August 2, 2018, 11:50pm UTC](https://discourse.julialang.org/t/mpb-callback-for-both-heuristic-solution-and-lazy-constraint/12815 "2018-08-02T23:50:21Z")

</div>

Is it possible to have a callback add a heuristic solution and a constraint using MathProgBase? It seemed unclear how to register it in that case, using setlazycallback! or setheuristiccallback!

---

## [What is the syntax for vline() in Plots.jl?](https://discourse.julialang.org/t/what-is-the-syntax-for-vline-in-plots-jl/1718)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 7\
**Last updated:** [August 2, 2018, 9:29am UTC](https://discourse.julialang.org/t/what-is-the-syntax-for-vline-in-plots-jl/1718 "2018-08-02T09:29:27Z")

</div>

There is no documentation and reading the source code didn’t help much.

---

## [How to give information into a callback function](https://discourse.julialang.org/t/how-to-give-information-into-a-callback-function/12805)

<div class="topic-metadata">

**Author:** [@CDRPico](https://discourse.julialang.org/u/CDRPico)\
**Replies:** 2\
**Last updated:** [August 2, 2018, 6:40am UTC](https://discourse.julialang.org/t/how-to-give-information-into-a-callback-function/12805 "2018-08-02T06:40:50Z")

</div>

Hi everyone. I’m implementing a callback function for lazy constraints (Benders decomposition). I’m not sure if it is possible to give and recover information to the callback. The idea is to pass a global variable which…

---

## [How to authenticate requests with HTTP.jl?](https://discourse.julialang.org/t/how-to-authenticate-requests-with-http-jl/3678)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 4\
**Last updated:** [August 1, 2018, 7:37pm UTC](https://discourse.julialang.org/t/how-to-authenticate-requests-with-http-jl/3678 "2018-08-01T19:37:34Z")

</div>

Suppose we want to get information from GitHub API for various users: using HTTP for user in users resp = HTTP.get("https://api.github.com/users/$user") end The code fails for a large number of users due to the reduc…

---

## [Status and Tagging of JuMP 0.18 on Julia 0.7](https://discourse.julialang.org/t/status-and-tagging-of-jump-0-18-on-julia-0-7/12740)

<div class="topic-metadata">

**Author:** [@ExpandingMan](https://discourse.julialang.org/u/ExpandingMan)\
**Replies:** 6\
**Last updated:** [August 1, 2018, 3:11pm UTC](https://discourse.julialang.org/t/status-and-tagging-of-jump-0-18-on-julia-0-7/12740 "2018-08-01T15:11:27Z")

</div>

I was glad to see that the PR was merged for updating JuMP 0.18 for Julia 0.7. I was wondering if there were any plans to tag this as 0.18.3, or if it was awaiting further updates (and if so, what needs updating).

---

## [Autocategorization of bank expenses](https://discourse.julialang.org/t/autocategorization-of-bank-expenses/12732)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 3\
**Last updated:** [August 1, 2018, 8:08am UTC](https://discourse.julialang.org/t/autocategorization-of-bank-expenses/12732 "2018-08-01T08:08:10Z")

</div>

Continuing the discussion from Personal Finance package?: I want to automatically categorize bank expenses into about 25 different categories. I already have about 3000 expense-category pairs. Each expense is comprised …

---

## [In Julia \>= 0.7, will the package "Missings.jl" still be needed or will it be part of core?](https://discourse.julialang.org/t/in-julia-0-7-will-the-package-missings-jl-still-be-needed-or-will-it-be-part-of-core/12733)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 4\
**Last updated:** [August 1, 2018, 7:11am UTC](https://discourse.julialang.org/t/in-julia-0-7-will-the-package-missings-jl-still-be-needed-or-will-it-be-part-of-core/12733 "2018-08-01T07:11:04Z")

</div>

Hello, I tough that the functionality that the package Missings.jl currently provides for Julia 0.6 (the Missing type in substitution of NA from older DataFrames packages) would be in core starting from Julia 0.7/1.x, an…

---

## [DimensionMismatch ("A has dimensions (1, 0) but B has dimensions (5,)") How to eliminate this error?](https://discourse.julialang.org/t/dimensionmismatch-a-has-dimensions-1-0-but-b-has-dimensions-5-how-to-eliminate-this-error/12741)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 5\
**Last updated:** [July 31, 2018, 1:14pm UTC](https://discourse.julialang.org/t/dimensionmismatch-a-has-dimensions-1-0-but-b-has-dimensions-5-how-to-eliminate-this-error/12741 "2018-07-31T13:14:51Z")

</div>

DimensionMismatch (“A has dimensions (1, 0) but B has dimensions (5,)”) How to eliminate this error?

---

## [File Format for Large Two-Dimensional Dataset](https://discourse.julialang.org/t/file-format-for-large-two-dimensional-dataset/12712)

<div class="topic-metadata">

**Author:** [@cortner](https://discourse.julialang.org/u/cortner)\
**Replies:** 19\
**Last updated:** [July 31, 2018, 9:38am UTC](https://discourse.julialang.org/t/file-format-for-large-two-dimensional-dataset/12712 "2018-07-31T09:38:51Z")

</div>

I need to store a moderate-to-large matrix, which (essentially) represents a least-squares system, since the matrix entries are much more expensive to evaluate than solving the actual system. I would therefore like to st…

---

## [optimal feature subset selection](https://discourse.julialang.org/t/optimal-feature-subset-selection/12746)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 0\
**Last updated:** [July 30, 2018, 5:35pm UTC](https://discourse.julialang.org/t/optimal-feature-subset-selection/12746 "2018-07-30T17:35:29Z")

</div>

Is there a Julia package that implements an optimal feature subset selection algorithm, such as described here: Fast branch & bound algorithms for optimal feature selection - PubMed?

---

## [ControlSystems / Frequency in Hz for bodeplot](https://discourse.julialang.org/t/controlsystems-frequency-in-hz-for-bodeplot/12683)

<div class="topic-metadata">

**Author:** [@Patrick\_Dubus](https://discourse.julialang.org/u/Patrick_Dubus)\
**Replies:** 9\
**Last updated:** [July 30, 2018, 3:31pm UTC](https://discourse.julialang.org/t/controlsystems-frequency-in-hz-for-bodeplot/12683 "2018-07-30T15:31:50Z")

</div>

Hello, I would like to know how to change the xaxis unit (rad/s) to frequency for bodeplot. Thanks in advance. Patrick.

---

## [A spreadsheet-like pivot function](https://discourse.julialang.org/t/a-spreadsheet-like-pivot-function/2701)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 5\
**Last updated:** [July 30, 2018, 9:24am UTC](https://discourse.julialang.org/t/a-spreadsheet-like-pivot-function/2701 "2018-07-30T09:24:12Z")

</div>

(crossposting from S.O.: http://stackoverflow.com/questions/42815117/a-generic-sreadsheet-like-pivot-function-for-julia-dataframes) I implemented a generic pivot function for Julia DataFrames, with some of the nice bell…

---

## [Weird bug: Printing a variable vs. not printing a variable give different results](https://discourse.julialang.org/t/weird-bug-printing-a-variable-vs-not-printing-a-variable-give-different-results/12728)

<div class="topic-metadata">

**Author:** [@CanLi1](https://discourse.julialang.org/u/CanLi1)\
**Replies:** 4\
**Last updated:** [July 30, 2018, 7:21am UTC](https://discourse.julialang.org/t/weird-bug-printing-a-variable-vs-not-printing-a-variable-give-different-results/12728 "2018-07-30T07:21:25Z")

</div>

Hi folks, I’m using Julia/JuMP and I recently encountered a weird bug. The whole package I’m writing is too big so I only include the code that this bug occurs. I have the following lines of code The code does not g…

---

## [Browsing dataframes and other tables?](https://discourse.julialang.org/t/browsing-dataframes-and-other-tables/12720)

<div class="topic-metadata">

**Author:** [@Raf](https://discourse.julialang.org/u/Raf)\
**Replies:** 10\
**Last updated:** [July 30, 2018, 3:43am UTC](https://discourse.julialang.org/t/browsing-dataframes-and-other-tables/12720 "2018-07-30T03:43:21Z")

</div>

How are people browsing their dataframes and other kinds of tables? I have sets of model parameter data to explore with my supervisors (auto-generated with Flatten.jl which I’m very excited about!). The columns are thin…

---

## [Distributed computing of x = A \\ b](https://discourse.julialang.org/t/distributed-computing-of-x-a-b/12716)

<div class="topic-metadata">

**Author:** [@ahojukka5](https://discourse.julialang.org/u/ahojukka5)\
**Replies:** 6\
**Last updated:** [July 29, 2018, 8:40pm UTC](https://discourse.julialang.org/t/distributed-computing-of-x-a-b/12716 "2018-07-29T20:40:27Z")

</div>

N = 1000 x = sprand(N, N, 0.5) \\ full(sprand(N, 1, 0.5) The code is giving us some solutions. For N=10000 memory runs out of my laptop machine. What are my options if I want to go, for example, N=10000000, assumed that …

---

## [CUDAdrv cannot find \_\_host\_\_ \_\_device\_\_ functions](https://discourse.julialang.org/t/cudadrv-cannot-find-host-device-functions/12682)

<div class="topic-metadata">

**Author:** [@cnliao](https://discourse.julialang.org/u/cnliao)\
**Replies:** 5\
**Last updated:** [July 29, 2018, 1:55pm UTC](https://discourse.julialang.org/t/cudadrv-cannot-find-host-device-functions/12682 "2018-07-29T13:55:41Z")

</div>

The example vadd.jl in CUDAdrv/examples will fail if one change the memory qualifier from \_\_global\_\_ to \_\_host\_\_ \_\_device\_\_ in the function signature. // vadd.cu extern "C" { \_\_host\_\_ \_\_device\_\_ void kernel\_vadd(const f…

---

## [Optim Consumes an Increasingly Large Amount of Memory (Until it Crashes)](https://discourse.julialang.org/t/optim-consumes-an-increasingly-large-amount-of-memory-until-it-crashes/12689)

<div class="topic-metadata">

**Author:** [@Juser](https://discourse.julialang.org/u/Juser)\
**Replies:** 6\
**Last updated:** [July 29, 2018, 7:19am UTC](https://discourse.julialang.org/t/optim-consumes-an-increasingly-large-amount-of-memory-until-it-crashes/12689 "2018-07-29T07:19:56Z")

</div>

I am using Optim using LBFGS for a statistical application (maximum likelihood), and I have encountered the issue that Optim consumes an increasingly large amount of memory until it runs out and crashes. The data set siz…

---

## [Personal Finance package?](https://discourse.julialang.org/t/personal-finance-package/12597)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 33\
**Last updated:** [July 28, 2018, 11:17pm UTC](https://discourse.julialang.org/t/personal-finance-package/12597 "2018-07-28T23:17:24Z")

</div>

Hi all! I’m trying to get my own personal finances in order and would love to get the job done in Julia. Why Julia and not just use hledger or gnucash? I could say that it’s easier to produce reports and graphs in Juli…

---

## [OpenBLAS on master -- getting wrong results with multithreading?](https://discourse.julialang.org/t/openblas-on-master-getting-wrong-results-with-multithreading/12694)

<div class="topic-metadata">

**Author:** [@Elrod](https://discourse.julialang.org/u/Elrod)\
**Replies:** 2\
**Last updated:** [July 28, 2018, 4:16pm UTC](https://discourse.julialang.org/t/openblas-on-master-getting-wrong-results-with-multithreading/12694 "2018-07-28T16:16:31Z")

</div>

I am getting inconsistent results from multiplying the same two matrices together with OpenBLAS on Julia master: julia\> y = randn(400,400); julia\> x = randn(400,400); julia\> cond(x \* y) 3108.7389106095816 julia\> cond…

---

## [CSV.read extremely slow wrt readtable](https://discourse.julialang.org/t/csv-read-extremely-slow-wrt-readtable/11726)

<div class="topic-metadata">

**Author:** [@lucabrugnolini](https://discourse.julialang.org/u/lucabrugnolini)\
**Replies:** 14\
**Last updated:** [July 27, 2018, 6:57pm UTC](https://discourse.julialang.org/t/csv-read-extremely-slow-wrt-readtable/11726 "2018-07-27T18:57:50Z")

</div>

Hello, I have found a huge difference in speed and allocation by switching from the deprecated DataFrames.readtable to CSV.read. I have noticed that this happens with large datasets (high number of columns), thus I star…

---

## [JuliaImages error](https://discourse.julialang.org/t/juliaimages-error/12264)

<div class="topic-metadata">

**Author:** [@microlifecc](https://discourse.julialang.org/u/microlifecc)\
**Replies:** 2\
**Last updated:** [July 27, 2018, 3:44am UTC](https://discourse.julialang.org/t/juliaimages-error/12264 "2018-07-27T03:44:28Z")

</div>

I tried this: using Images, Unitful, AxisArrays using Unitful: mm, s img = AxisArray(rand(256, 256, 100, 50), (:x, :y, :z, :time), (0.4mm, 0.4mm, 1mm, 2s)) imshow(img) I am getting this error: (julia:14656): Gtk-CR…

---

## [How to Load images in either Knet or MXNet](https://discourse.julialang.org/t/how-to-load-images-in-either-knet-or-mxnet/12677)

<div class="topic-metadata">

**Author:** [@hskramer](https://discourse.julialang.org/u/hskramer)\
**Replies:** 6\
**Last updated:** [July 27, 2018, 3:28am UTC](https://discourse.julialang.org/t/how-to-load-images-in-either-knet-or-mxnet/12677 "2018-07-27T03:28:48Z")

</div>

My images are from google street views 74K. I read and gone through every tutorial still can’t load an image. They are 50x50 rgb jpg images any help would be greatly appreciated.

---

## [Default subsidiary algorithm in NLopt AUGLAG](https://discourse.julialang.org/t/default-subsidiary-algorithm-in-nlopt-auglag/12654)

<div class="topic-metadata">

**Author:** [@mrapo](https://discourse.julialang.org/u/mrapo)\
**Replies:** 2\
**Last updated:** [July 26, 2018, 6:51am UTC](https://discourse.julialang.org/t/default-subsidiary-algorithm-in-nlopt-auglag/12654 "2018-07-26T06:51:54Z")

</div>

I wan to use the NLopt’s Augmented Lagrangian algorithm in JuMP environment. In the documentation it is mentioned that the AUGLAG algorithm uses a subsidary algorithm for the optimization and that this local search algor…

---

## [\[ANN\] RowTables.jl](https://discourse.julialang.org/t/ann-rowtables-jl/12608)

<div class="topic-metadata">

**Author:** [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Replies:** 6\
**Last updated:** [July 26, 2018, 2:40am UTC](https://discourse.julialang.org/t/ann-rowtables-jl/12608 "2018-07-26T02:40:48Z")

</div>

RowTables.jl is intended to be (and often is) faster than DataFrames at row-wise operations. https://github.com/jlapeyre/RowTables.jl This package is not registered. See README.md for a few benchmarks.

---

## [Thickness\_scaling in Plots.jl](https://discourse.julialang.org/t/thickness-scaling-in-plots-jl/12539)

<div class="topic-metadata">

**Author:** [@jcrbloch](https://discourse.julialang.org/u/jcrbloch)\
**Replies:** 4\
**Last updated:** [July 25, 2018, 9:51pm UTC](https://discourse.julialang.org/t/thickness-scaling-in-plots-jl/12539 "2018-07-25T21:51:30Z")

</div>

I used thickness\_scaling = 0.5 in plot() when using Plots but instead of making all lines narrower it enlarges the plot by a factor two.

---

## [Error in an optimization problem](https://discourse.julialang.org/t/error-in-an-optimization-problem/12609)

<div class="topic-metadata">

**Author:** [@muriloasouza](https://discourse.julialang.org/u/muriloasouza)\
**Replies:** 3\
**Last updated:** [July 24, 2018, 1:47pm UTC](https://discourse.julialang.org/t/error-in-an-optimization-problem/12609 "2018-07-24T13:47:00Z")

</div>

Hello there! I’m fairly new to Julia. I just made a problem to test and learn how to write the obj. function and restrictions. But i’m having some issues, if anyone can help me out, will be trully apreciated. Here’s my…

---

## [What is the recommended type \<: Integer to use when doing index arithmetics?](https://discourse.julialang.org/t/what-is-the-recommended-type-integer-to-use-when-doing-index-arithmetics/12560)

<div class="topic-metadata">

**Author:** [@Lian\_Yunlong](https://discourse.julialang.org/u/Lian_Yunlong)\
**Replies:** 3\
**Last updated:** [July 24, 2018, 6:31am UTC](https://discourse.julialang.org/t/what-is-the-recommended-type-integer-to-use-when-doing-index-arithmetics/12560 "2018-07-24T06:31:10Z")

</div>

Hi, I have to compute the linear index in a CUDAnative kernel. I went to the source code pointer.jl in CUDAnative.jl but wasn’t able to get a clue. It seems to me that unsafe\_cached\_load deals with integers carefully, b…

---

## [Ubuntu 14 16 Plots GR - cannot get a plot window](https://discourse.julialang.org/t/ubuntu-14-16-plots-gr-cannot-get-a-plot-window/12514)

<div class="topic-metadata">

**Author:** [@ronubi](https://discourse.julialang.org/u/ronubi)\
**Replies:** 8\
**Last updated:** [July 23, 2018, 9:05pm UTC](https://discourse.julialang.org/t/ubuntu-14-16-plots-gr-cannot-get-a-plot-window/12514 "2018-07-23T21:05:42Z")

</div>

From a terminal, I launch julia 0.6.3 and try to plot something as follows: import Plots ; pl=Plots ; pl.gr(legend=false, format=:png) ; pl.plot(\[0,1\]) On VNC-connected logins to two different Ubuntu servers (one a VM)…

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

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