# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&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

---

## [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)…

---

## [Packing structs for OpenCL](https://discourse.julialang.org/t/packing-structs-for-opencl/12574)

<div class="topic-metadata">

**Author:** [@Raf](https://discourse.julialang.org/u/Raf)\
**Replies:** 1\
**Last updated:** [July 23, 2018, 3:07pm UTC](https://discourse.julialang.org/t/packing-structs-for-opencl/12574 "2018-07-23T15:07:19Z")

</div>

I’m trying to use GPUArrays to broadcast on types that pack differently in Jullia and OpenCL, such as arrays of structs/tuples or structs containing tuples. Is this a bug in CLArrays that it doesn’t ‘just work’, or inte…

---

## [Error using StatPlots](https://discourse.julialang.org/t/error-using-statplots/12500)

<div class="topic-metadata">

**Author:** [@muriloasouza](https://discourse.julialang.org/u/muriloasouza)\
**Replies:** 7\
**Last updated:** [July 23, 2018, 2:20pm UTC](https://discourse.julialang.org/t/error-using-statplots/12500 "2018-07-23T14:20:43Z")

</div>

Hello, there! I’m trying to use the StatPlots package to plot some grouped bar graphics using the groupedbar function. As can be seen in this picture that i got from their Github page. Basically, this is my code: wo…

---

## [Callback information about parent in B&B tree](https://discourse.julialang.org/t/callback-information-about-parent-in-b-b-tree/12546)

<div class="topic-metadata">

**Author:** [@borelian](https://discourse.julialang.org/u/borelian)\
**Replies:** 4\
**Last updated:** [July 23, 2018, 12:48pm UTC](https://discourse.julialang.org/t/callback-information-about-parent-in-b-b-tree/12546 "2018-07-23T12:48:26Z")

</div>

Hi everyone. in the B&B tree, I need to recover the father of the current node. A solution is to store the father id when the solver branchs, using a branch callback. I see that JuMP doesn’t have branch callbacks. How …

---

## [Multiparametric programming](https://discourse.julialang.org/t/multiparametric-programming/1316)

<div class="topic-metadata">

**Author:** [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Replies:** 6\
**Last updated:** [July 23, 2018, 1:53am UTC](https://discourse.julialang.org/t/multiparametric-programming/1316 "2018-07-23T01:53:31Z")

</div>

Hi all, Has there been any work on multiparametric programming in Julia? I’m starting to look into it for my own research, and it would be nice to build on any existing work there might be. Googling around and looking i…

---

## [Is DifferentialEquations.jl not ready for julia-v0.7.0?](https://discourse.julialang.org/t/is-differentialequations-jl-not-ready-for-julia-v0-7-0/12460)

<div class="topic-metadata">

**Author:** [@zekeriya.sari](https://discourse.julialang.org/u/zekeriya.sari)\
**Replies:** 4\
**Last updated:** [July 21, 2018, 7:30pm UTC](https://discourse.julialang.org/t/is-differentialequations-jl-not-ready-for-julia-v0-7-0/12460 "2018-07-21T19:30:33Z")

</div>

I have been using DifferentialEquations package for a while on julia-v0.6.3. I decided to upgrade julia to julia-v0.7.0-beta2.0. Having done the julia upgrade, I tried to re-install the DifferentialEquations.jl for julia…

---

## [Max of Date and Missing on 0.6.4?](https://discourse.julialang.org/t/max-of-date-and-missing-on-0-6-4/12542)

<div class="topic-metadata">

**Author:** [@jacobadenbaum](https://discourse.julialang.org/u/jacobadenbaum)\
**Replies:** 2\
**Last updated:** [July 21, 2018, 2:37pm UTC](https://discourse.julialang.org/t/max-of-date-and-missing-on-0-6-4/12542 "2018-07-21T14:37:33Z")

</div>

Is this a known bug in 0.6.4? julia\> using Missings julia\> max(Date(1999, 1), missing) ERROR: MethodError: no method matching ifelse(::Missings.Missing, ::Date, ::Missings.Missing) Closest candidates are: ifelse(::Bo…

---

## [Discarding old plots when redrawing a plot in a loop](https://discourse.julialang.org/t/discarding-old-plots-when-redrawing-a-plot-in-a-loop/11980)

<div class="topic-metadata">

**Author:** [@Pavel\_Kalouguine](https://discourse.julialang.org/u/Pavel_Kalouguine)\
**Replies:** 1\
**Last updated:** [July 21, 2018, 2:56am UTC](https://discourse.julialang.org/t/discarding-old-plots-when-redrawing-a-plot-in-a-loop/11980 "2018-07-21T02:56:37Z")

</div>

I stumbled upon a strange difference between the ways the plots are redrawn in Juno pane and in a GUI window. If a plot is constantly redrown in the loop, the old plots in Juno pane are not discarded and can be discovere…

---

## [Bug in DistributedArrays?](https://discourse.julialang.org/t/bug-in-distributedarrays/12507)

<div class="topic-metadata">

**Author:** [@raminammour](https://discourse.julialang.org/u/raminammour)\
**Replies:** 4\
**Last updated:** [July 20, 2018, 2:50pm UTC](https://discourse.julialang.org/t/bug-in-distributedarrays/12507 "2018-07-20T14:50:07Z")

</div>

Hello all, I encountered this in an application and it took forever to debug. I think this is a bug in DistributedArrays on v0.6.4. MWE: julia\> addprocs(2) 2-element Array{Int64,1}: 2 3 julia\> using DistributedArray…

---

## [Resolve models in parallel within a loop](https://discourse.julialang.org/t/resolve-models-in-parallel-within-a-loop/12469)

<div class="topic-metadata">

**Author:** [@Ksun46](https://discourse.julialang.org/u/Ksun46)\
**Replies:** 12\
**Last updated:** [July 20, 2018, 2:38pm UTC](https://discourse.julialang.org/t/resolve-models-in-parallel-within-a-loop/12469 "2018-07-20T14:38:36Z")

</div>

Hi all, I am trying to implement an algorithm in JuMP. In each iteration, I will need to solve several models in parallel, update some data and then resolve these models in the next iteration with different objectives (c…

---

## [Data-parallel training with conv nets in Julia](https://discourse.julialang.org/t/data-parallel-training-with-conv-nets-in-julia/12520)

<div class="topic-metadata">

**Author:** [@jstrube](https://discourse.julialang.org/u/jstrube)\
**Replies:** 4\
**Last updated:** [July 20, 2018, 6:28am UTC](https://discourse.julialang.org/t/data-parallel-training-with-conv-nets-in-julia/12520 "2018-07-20T06:28:24Z")

</div>

I have a problem that lends itself well to data-parallel training (see, e.g., CHEP 2018 Conference, Sofia, Bulgaria (9-13 July 2018): Scaling studies for deep learning in LArTPC event classification · Indico). I’ve been …

---

## [Queryverse @map question](https://discourse.julialang.org/t/queryverse-map-question/12484)

<div class="topic-metadata">

**Author:** [@johann.spies](https://discourse.julialang.org/u/johann.spies)\
**Replies:** 3\
**Last updated:** [July 20, 2018, 12:17am UTC](https://discourse.julialang.org/t/queryverse-map-question/12484 "2018-07-20T00:17:04Z")

</div>

I have describe(gewig) Summary Stats: Mean: 2979.413793 Minimum: 1613.000000 1st Quartile: 2226.500000 Median: 2822.500000 3rd Quartile: 3618.250000 Maximum: 5140.000000 Length: …

---

## [ReverseDiff Incorrect Result](https://discourse.julialang.org/t/reversediff-incorrect-result/12505)

<div class="topic-metadata">

**Author:** [@PaulMatlashewski](https://discourse.julialang.org/u/PaulMatlashewski)\
**Replies:** 5\
**Last updated:** [July 19, 2018, 9:51pm UTC](https://discourse.julialang.org/t/reversediff-incorrect-result/12505 "2018-07-19T21:51:13Z")

</div>

I’m running into an issue using ReverseDiff. It seems to be evaluating my function incorrectly when I prerecord a gradient tape: using ReverseDiff: GradientTape, GradientConfig, gradient!, compile using DiffResults: val…

---

## [Optim box constrained optimization](https://discourse.julialang.org/t/optim-box-constrained-optimization/12463)

<div class="topic-metadata">

**Author:** [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Replies:** 6\
**Last updated:** [July 19, 2018, 7:19am UTC](https://discourse.julialang.org/t/optim-box-constrained-optimization/12463 "2018-07-19T07:19:26Z")

</div>

Here’s the example for box constrained optimization in the docs: using Optim f(x) = (1.0 - x\[1\])^2 + 100.0 \* (x\[2\] - x\[1\]^2)^2 function g!(G, x) G\[1\] = -2.0 \* (1.0 - x\[1\]) - 400.0 \* (x\[2\] - x\[1\]^2) \* x\[1\] G\[2\] …

---

## [Multipanel plots in Statsplots](https://discourse.julialang.org/t/multipanel-plots-in-statsplots/12476)

<div class="topic-metadata">

**Author:** [@k945](https://discourse.julialang.org/u/k945)\
**Replies:** 2\
**Last updated:** [July 19, 2018, 6:49am UTC](https://discourse.julialang.org/t/multipanel-plots-in-statsplots/12476 "2018-07-19T06:49:02Z")

</div>

How do you create subplots from different data frames using StatsPlots? For example, while It is possible to reuse a single data frame to to generate multiple plots dff = DataFrame(a = 1:10, b = 10\*rand(10), c = 10 \* ra…

---

## [Sequence of warp and how to avoid divergence when folding shared memory in a reduction kernel](https://discourse.julialang.org/t/sequence-of-warp-and-how-to-avoid-divergence-when-folding-shared-memory-in-a-reduction-kernel/12468)

<div class="topic-metadata">

**Author:** [@Lian\_Yunlong](https://discourse.julialang.org/u/Lian_Yunlong)\
**Replies:** 3\
**Last updated:** [July 19, 2018, 5:34am UTC](https://discourse.julialang.org/t/sequence-of-warp-and-how-to-avoid-divergence-when-folding-shared-memory-in-a-reduction-kernel/12468 "2018-07-19T05:34:48Z")

</div>

Hi everyone, I jumped into CUDA programming mid-way without good background knowledge. It is just because CUDAnative.jl is so easy to program with. Now I have a problem related to CUDA, not not the package CUDAnative.jl.…

---

## [What are the best practices to improve JuMP perfomance?](https://discourse.julialang.org/t/what-are-the-best-practices-to-improve-jump-perfomance/12459)

<div class="topic-metadata">

**Author:** [@jayce\_ram](https://discourse.julialang.org/u/jayce_ram)\
**Replies:** 0\
**Last updated:** [July 18, 2018, 11:26am UTC](https://discourse.julialang.org/t/what-are-the-best-practices-to-improve-jump-perfomance/12459 "2018-07-18T11:26:39Z")

</div>

I’ve been working in a huge LP problem. My problem can easily overcome 1million of variables and constraints. As I was not familiar to Julia I have coded in a global scope called “Main.jl” and it worked well. My mainly o…

---

## [using CG when A is function handle](https://discourse.julialang.org/t/using-cg-when-a-is-function-handle/12434)

<div class="topic-metadata">

**Author:** [@Rajiv](https://discourse.julialang.org/u/Rajiv)\
**Replies:** 2\
**Last updated:** [July 18, 2018, 2:10am UTC](https://discourse.julialang.org/t/using-cg-when-a-is-function-handle/12434 "2018-07-18T02:10:12Z")

</div>

I am trying to use CG from the IterativeSolvers.jl solver. I have “A” as a matrix-free operator but it is build using nested functions. Is linear map works for “A” inside of which there are several function calls? I do …

---

## [Constant Memory?](https://discourse.julialang.org/t/constant-memory/7606)

<div class="topic-metadata">

**Author:** [@drjoke](https://discourse.julialang.org/u/drjoke)\
**Replies:** 11\
**Last updated:** [July 18, 2018, 12:38am UTC](https://discourse.julialang.org/t/constant-memory/7606 "2018-07-18T00:38:37Z")

</div>

I believe there is support for Shared Memory. However, I cannot find any references to Constant Memory being supported by CUDAnative. As I read through books on CUDA programming, it seems like a useful thing that will h…

---

## [How to use PeriodicCallbacks from DiffEqs](https://discourse.julialang.org/t/how-to-use-periodiccallbacks-from-diffeqs/12440)

<div class="topic-metadata">

**Author:** [@SanAlphaTau](https://discourse.julialang.org/u/SanAlphaTau)\
**Replies:** 1\
**Last updated:** [July 17, 2018, 4:56pm UTC](https://discourse.julialang.org/t/how-to-use-periodiccallbacks-from-diffeqs/12440 "2018-07-17T16:56:40Z")

</div>

Hey guys I’m having trouble understanding the documentation of periodic callbacks. Say I have a ODE and want periodically input some number to a value. From reading the documentation I thought periodic callback would do…

---

## [Producer consumer pattern in julia](https://discourse.julialang.org/t/producer-consumer-pattern-in-julia/12421)

<div class="topic-metadata">

**Author:** [@atteson](https://discourse.julialang.org/u/atteson)\
**Replies:** 2\
**Last updated:** [July 17, 2018, 3:38am UTC](https://discourse.julialang.org/t/producer-consumer-pattern-in-julia/12421 "2018-07-17T03:38:51Z")

</div>

I’m implementing a producer consumer pattern in julia. Each producer will be pushing things on a queue and each consumer will be poping them off. I’d like each producer and each consumer to run in a different execution…

---

## [Generic Kernels for CLArrays](https://discourse.julialang.org/t/generic-kernels-for-clarrays/12361)

<div class="topic-metadata">

**Author:** [@goretkin](https://discourse.julialang.org/u/goretkin)\
**Replies:** 1\
**Last updated:** [July 16, 2018, 8:38am UTC](https://discourse.julialang.org/t/generic-kernels-for-clarrays/12361 "2018-07-16T08:38:38Z")

</div>

I’d like to take the minimum of a scalar field z subject to some mask d. To illustrate, z is a checkerboard pattern and d is a circle centered at c\_xy. N = 10 xy = \[(i, j) for i=1:N, j=1:N\] # coordinates z = \[(i+j)%2 +…

---

## [Optimistic Concurrency Control](https://discourse.julialang.org/t/optimistic-concurrency-control/12402)

<div class="topic-metadata">

**Author:** [@SohamTamb](https://discourse.julialang.org/u/SohamTamb)\
**Replies:** 2\
**Last updated:** [July 16, 2018, 1:12am UTC](https://discourse.julialang.org/t/optimistic-concurrency-control/12402 "2018-07-16T01:12:32Z")

</div>

I am considering implementing a parallel (multi-threaded) algorithm using optimistic concurrency control. i.e. you allow race conditions to happen but ensure the correctness is not affected. I was hoping to find informa…

---

## [TensorFlow.jl installation problem](https://discourse.julialang.org/t/tensorflow-jl-installation-problem/7392)

<div class="topic-metadata">

**Author:** [@Arrigo\_Benedetti](https://discourse.julialang.org/u/Arrigo_Benedetti)\
**Replies:** 6\
**Last updated:** [July 15, 2018, 3:13am UTC](https://discourse.julialang.org/t/tensorflow-jl-installation-problem/7392 "2018-07-15T03:13:16Z")

</div>

When I install TensorFlow.jl under Julia 0.6.1 for 64 bit Windows I get this error: Fetching package metadata … Solving package specifications: . UnsatisfiableError: The following specifications were found to be in c…

---

## [Load JULIA via "julia -p 8" and failed to load CUDAnative library](https://discourse.julialang.org/t/load-julia-via-julia-p-8-and-failed-to-load-cudanative-library/12220)

<div class="topic-metadata">

**Author:** [@Lian\_Yunlong](https://discourse.julialang.org/u/Lian_Yunlong)\
**Replies:** 3\
**Last updated:** [July 13, 2018, 3:19pm UTC](https://discourse.julialang.org/t/load-julia-via-julia-p-8-and-failed-to-load-cudanative-library/12220 "2018-07-13T15:19:09Z")

</div>

Hi Tim @maleadt I load julia via the following command xxx@XXX:~$ julia7 -p 6 \_ \_ \_ \_(\_)\_ | A fresh approach to technical computing (\_) | (\_) (\_) | Documentation: https://docs.jul…

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

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