# Specific Domains

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

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

**Page:** 530

---

## [DFO algorithms for constrained optimization](https://discourse.julialang.org/t/dfo-algorithms-for-constrained-optimization/13882)

<div class="topic-metadata">

**Author:** [@ivborissov](https://discourse.julialang.org/u/ivborissov)\
**Replies:** 0\
**Last updated:** [August 22, 2018, 1:32pm UTC](https://discourse.julialang.org/t/dfo-algorithms-for-constrained-optimization/13882 "2018-08-22T13:32:27Z")

</div>

Hi, could you please recommend me “free” solvers/algorithms for derivative-free optimization which support inequality/equality and bound constraints. Currently I use AUGLAG from NLopt with NELDERMEAD,SBPLX or BOBYQA as l…

---

## [@NLconstraint not working with splatting syntax](https://discourse.julialang.org/t/nlconstraint-not-working-with-splatting-syntax/13796)

<div class="topic-metadata">

**Author:** [@Arrigo\_Benedetti](https://discourse.julialang.org/u/Arrigo_Benedetti)\
**Replies:** 2\
**Last updated:** [August 22, 2018, 7:02am UTC](https://discourse.julialang.org/t/nlconstraint-not-working-with-splatting-syntax/13796 "2018-08-22T07:02:01Z")

</div>

I am trying to solve a constrained non linear optimization problem with JuMP/Ipopt and since the cost function and the constraint are functions of vector variables, I am using the splatting syntax as suggested in the JuM…

---

## [Force describe() not to omit columns](https://discourse.julialang.org/t/force-describe-not-to-omit-columns/13793)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 7\
**Last updated:** [August 21, 2018, 10:06pm UTC](https://discourse.julialang.org/t/force-describe-not-to-omit-columns/13793 "2018-08-21T22:06:42Z")

</div>

is it possible to force describe not to omit columns for printing?

---

## [Dataframe functional input and output formats in julia 1.0, august 2018](https://discourse.julialang.org/t/dataframe-functional-input-and-output-formats-in-julia-1-0-august-2018/13800)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 2\
**Last updated:** [August 21, 2018, 5:58pm UTC](https://discourse.julialang.org/t/dataframe-functional-input-and-output-formats-in-julia-1-0-august-2018/13800 "2018-08-21T17:58:51Z")

</div>

I am trying to find out in what data formats Julia 1.0 can currently \[august 2018\] use to read and write data frames. for a sample, I am using something simple like julia\> df 6×4 DataFrame │ Row │ n1 │ n2 │ n3 …

---

## [Dynamically adding constraints with @constraintref](https://discourse.julialang.org/t/dynamically-adding-constraints-with-constraintref/13830)

<div class="topic-metadata">

**Author:** [@mm0063](https://discourse.julialang.org/u/mm0063)\
**Replies:** 1\
**Last updated:** [August 21, 2018, 1:24pm UTC](https://discourse.julialang.org/t/dynamically-adding-constraints-with-constraintref/13830 "2018-08-21T13:24:38Z")

</div>

Dear all, I am trying to dynamically add constraints to my model as in the example below. However, this formulation results in the error stated below the formulation. I believe that the problem occurs due to the \[t in t…

---

## [LLVM crash when running Flux and CuArray examples in julia 0.7](https://discourse.julialang.org/t/llvm-crash-when-running-flux-and-cuarray-examples-in-julia-0-7/12967)

<div class="topic-metadata">

**Author:** [@rkat](https://discourse.julialang.org/u/rkat)\
**Replies:** 13\
**Last updated:** [August 21, 2018, 7:07am UTC](https://discourse.julialang.org/t/llvm-crash-when-running-flux-and-cuarray-examples-in-julia-0-7/12967 "2018-08-21T07:07:12Z")

</div>

I’m running on Ubuntu 16.04 with a Quadro K1200. I’m able to build and run all of the NVIDIA CUDA examples, but I can’t seem to get Flux/CuArrays working. I’m using julia 0.7 which is not well supported by Flux and CuArr…

---

## [How to make Julia use AVX2 instructions?](https://discourse.julialang.org/t/how-to-make-julia-use-avx2-instructions/13797)

<div class="topic-metadata">

**Author:** [@YingboMa](https://discourse.julialang.org/u/YingboMa)\
**Replies:** 1\
**Last updated:** [August 21, 2018, 3:44am UTC](https://discourse.julialang.org/t/how-to-make-julia-use-avx2-instructions/13797 "2018-08-21T03:44:30Z")

</div>

How can I make Julia use AVX2 instructions for the following code? kc = 2 Ac = rand(4\*kc) Bc = rand(kc\*4) AB = zeros(4\*4) function micro\_ker!(AB, Ac, Bc, kc::Int, offsetA::Int, offsetB::Int) MR = 4 NR = 4 fi…

---

## [A prototype for a minimalistic universal database API](https://discourse.julialang.org/t/a-prototype-for-a-minimalistic-universal-database-api/13743)

<div class="topic-metadata">

**Author:** [@ExpandingMan](https://discourse.julialang.org/u/ExpandingMan)\
**Replies:** 4\
**Last updated:** [August 20, 2018, 5:19pm UTC](https://discourse.julialang.org/t/a-prototype-for-a-minimalistic-universal-database-api/13743 "2018-08-20T17:19:44Z")

</div>

Hello all, I have written an extremely minimal universal database API in the style of PEP249. It is so minimal, in fact, that by design you should not even have to import this package to implement it. My goal was to pr…

---

## [Distributed for loop slower than serial?](https://discourse.julialang.org/t/distributed-for-loop-slower-than-serial/13722)

<div class="topic-metadata">

**Author:** [@Panadestein](https://discourse.julialang.org/u/Panadestein)\
**Replies:** 4\
**Last updated:** [August 20, 2018, 7:28am UTC](https://discourse.julialang.org/t/distributed-for-loop-slower-than-serial/13722 "2018-08-20T07:28:07Z")

</div>

Hello everyone. As the title of this post says, I have been trying to parallelize a for loop that is included in one of the programs I’m developing for my PhD thesis. This code was originally written in Python, but at so…

---

## [No overflow nor underflow rounding mode for Floats](https://discourse.julialang.org/t/no-overflow-nor-underflow-rounding-mode-for-floats/12487)

<div class="topic-metadata">

**Author:** [@milankl](https://discourse.julialang.org/u/milankl)\
**Replies:** 6\
**Last updated:** [August 19, 2018, 3:51pm UTC](https://discourse.julialang.org/t/no-overflow-nor-underflow-rounding-mode-for-floats/12487 "2018-08-19T15:51:40Z")

</div>

Hey there, I see from the manual that different rounding modes for floats exist. However, I was wondering whether there is a smart way to set or emulate a rounding mode that is similar to RoundNearest, but without overf…

---

## [Domain Troubles with Differential Equations Solver (with non-auto-differentiable function inside the ODE def)](https://discourse.julialang.org/t/domain-troubles-with-differential-equations-solver-with-non-auto-differentiable-function-inside-the-ode-def/13650)

<div class="topic-metadata">

**Author:** [@shoshievass](https://discourse.julialang.org/u/shoshievass)\
**Replies:** 33\
**Last updated:** [August 19, 2018, 12:26pm UTC](https://discourse.julialang.org/t/domain-troubles-with-differential-equations-solver-with-non-auto-differentiable-function-inside-the-ode-def/13650 "2018-08-19T12:26:26Z")

</div>

I’m trying to solve an ODE that uses a non-auto-differentiable function inside its definition (in particular, I solve a constrained quadratic program with JuMP to define du/dt in each iteration). In principle, the soluti…

---

## [Logabsdet(singular)](https://discourse.julialang.org/t/logabsdet-singular/13706)

<div class="topic-metadata">

**Author:** [@improbable22](https://discourse.julialang.org/u/improbable22)\
**Replies:** 2\
**Last updated:** [August 19, 2018, 9:56am UTC](https://discourse.julialang.org/t/logabsdet-singular/13706 "2018-08-19T09:56:57Z")

</div>

I have lots of matrices with very small positive eigenvalues. In Julia 0.6 I was calling ld, s = logabsdet(m), but updating to v0.7, this now gives an error when det(m)==0. (It’s not physically zero, just numerical preci…

---

## [Learning how to help with the Plots.jl effort?](https://discourse.julialang.org/t/learning-how-to-help-with-the-plots-jl-effort/13680)

<div class="topic-metadata">

**Author:** [@djsegal](https://discourse.julialang.org/u/djsegal)\
**Replies:** 5\
**Last updated:** [August 19, 2018, 8:43am UTC](https://discourse.julialang.org/t/learning-how-to-help-with-the-plots-jl-effort/13680 "2018-08-19T08:43:52Z")

</div>

I love Plots.jl, you love Plots.jl, everyone loves Plots.jl. The problem is making a flexible plotting framework is a huge task that’s probably not given the open-source effort it needs. Can we make a table that lists…

---

## [Converting all NaN's to Missing and vice-versa in relevant columns](https://discourse.julialang.org/t/converting-all-nans-to-missing-and-vice-versa-in-relevant-columns/13675)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 2\
**Last updated:** [August 18, 2018, 9:39pm UTC](https://discourse.julialang.org/t/converting-all-nans-to-missing-and-vice-versa-in-relevant-columns/13675 "2018-08-18T21:39:47Z")

</div>

I am experimenting with dataframes and missings, which have of course morphed over the last few months. my dataframes can have float columns that are already unions(missing), float columns that are not yet unions, and …

---

## [Go-like select statement](https://discourse.julialang.org/t/go-like-select-statement/13684)

<div class="topic-metadata">

**Author:** [@maurocchi](https://discourse.julialang.org/u/maurocchi)\
**Replies:** 0\
**Last updated:** [August 18, 2018, 9:35pm UTC](https://discourse.julialang.org/t/go-like-select-statement/13684 "2018-08-18T21:35:09Z")

</div>

Is there in the Julia standard library something to mime the behaviour of the Golang select statement against the provided Channels?

---

## [Way to add colorbar label to pgfplot in Plots.jl framework?](https://discourse.julialang.org/t/way-to-add-colorbar-label-to-pgfplot-in-plots-jl-framework/13655)

<div class="topic-metadata">

**Author:** [@djsegal](https://discourse.julialang.org/u/djsegal)\
**Replies:** 1\
**Last updated:** [August 18, 2018, 10:12am UTC](https://discourse.julialang.org/t/way-to-add-colorbar-label-to-pgfplot-in-plots-jl-framework/13655 "2018-08-18T10:12:28Z")

</div>

I have the following plot: The only thing really missing from it, though, is a label above the colorbar saying B\_0 How do you do this?

---

## [IJulia + PyPlot: Error on plot()](https://discourse.julialang.org/t/ijulia-pyplot-error-on-plot/13436)

<div class="topic-metadata">

**Author:** [@v-i-s-h](https://discourse.julialang.org/u/v-i-s-h)\
**Replies:** 1\
**Last updated:** [August 18, 2018, 8:30am UTC](https://discourse.julialang.org/t/ijulia-pyplot-error-on-plot/13436 "2018-08-18T08:30:21Z")

</div>

Hi, I’m trying to use IJulia+PyPlot in Julia 1.0. From REPL, I’m able to plot. however if I use IJulia notebook and try plot( cumsum(rand(100)) ), the following error is coming. PyError ($(Expr(:escape, :(ccall(#= /…

---

## [Flux v0.6.0: "MethodError: no method matching Flux.LSTMCell"](https://discourse.julialang.org/t/flux-v0-6-0-methoderror-no-method-matching-flux-lstmcell/13476)

<div class="topic-metadata">

**Author:** [@Joshua\_Bowles](https://discourse.julialang.org/u/Joshua_Bowles)\
**Replies:** 1\
**Last updated:** [August 18, 2018, 3:13am UTC](https://discourse.julialang.org/t/flux-v0-6-0-methoderror-no-method-matching-flux-lstmcell/13476 "2018-08-18T03:13:08Z")

</div>

Flux: Version 0.6.0 Julia: Version 0.7.0 Working through flux model zoo, lang-detection/model.jl:28, and trying to update to julia7. You can also reproduce the erorr by just Flux.LSTM(15,15) or Flux.LSTMCell(15, 15) f…

---

## [A bit more information about "Integration of OpenCV and JuliaImages"](https://discourse.julialang.org/t/a-bit-more-information-about-integration-of-opencv-and-juliaimages/8824)

<div class="topic-metadata">

**Author:** [@insoluble](https://discourse.julialang.org/u/insoluble)\
**Replies:** 3\
**Last updated:** [August 17, 2018, 10:36pm UTC](https://discourse.julialang.org/t/a-bit-more-information-about-integration-of-opencv-and-juliaimages/8824 "2018-08-17T22:36:47Z")

</div>

Hi, I want to contribute to this project. I have fair understanding of C++ but new to openCV. Currently I am trying to understand this project. Apart from that on which area should I focus more and know about to be ab…

---

## [A type for metadata?](https://discourse.julialang.org/t/a-type-for-metadata/10456)

<div class="topic-metadata">

**Author:** [@kevbonham](https://discourse.julialang.org/u/kevbonham)\
**Replies:** 11\
**Last updated:** [August 17, 2018, 6:24pm UTC](https://discourse.julialang.org/t/a-type-for-metadata/10456 "2018-08-17T18:24:46Z")

</div>

I’m routinely dealing with data + metadata, and I wanted to get some feedback on ideas for how to operationalize this. I’m a biologist, not a programmer, so it’s likely I’m overlooking some obvious solution. I’ll explain…

---

## [Slow exp()?](https://discourse.julialang.org/t/slow-exp/13606)

<div class="topic-metadata">

**Author:** [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Replies:** 12\
**Last updated:** [August 17, 2018, 11:10am UTC](https://discourse.julialang.org/t/slow-exp/13606 "2018-08-17T11:10:44Z")

</div>

julia\> exp(1.3) 3.6692966676192444 julia\> exp(1) 2.718281828459045 julia\> 2.718281828459045 ^ 1.3 3.669296667619244 julia\> @benchmark exp(1.3) BenchmarkTools.Trial: memory estimate: 0 bytes allocs estimate: 0 …

---

## [How to properly plot DataFrames? (... and simplify my call to violin in StatPlots.)](https://discourse.julialang.org/t/how-to-properly-plot-dataframes-and-simplify-my-call-to-violin-in-statplots/13509)

<div class="topic-metadata">

**Author:** [@rickhg12hs](https://discourse.julialang.org/u/rickhg12hs)\
**Replies:** 9\
**Last updated:** [August 17, 2018, 10:52am UTC](https://discourse.julialang.org/t/how-to-properly-plot-dataframes-and-simplify-my-call-to-violin-in-statplots/13509 "2018-08-17T10:52:48Z")

</div>

I’m looking for a more concise way to call violin. I just want a violin of each category/column of data and also have all the labeling consistent with the Dataframe names. # some data to play with n = 10000 f(k) = rand…

---

## [Resurrecting universal database API](https://discourse.julialang.org/t/resurrecting-universal-database-api/11412)

<div class="topic-metadata">

**Author:** [@ExpandingMan](https://discourse.julialang.org/u/ExpandingMan)\
**Replies:** 60\
**Last updated:** [August 17, 2018, 4:23am UTC](https://discourse.julialang.org/t/resurrecting-universal-database-api/11412 "2018-08-17T04:23:38Z")

</div>

Based, on the other thread, it sounds like there is some interest in resurrecting the idea of a “universal Julia database API”. There are already some great Julia database packages, and thanks to ODBC.jl and JDBC.jl at …

---

## [Error handling in JuMP](https://discourse.julialang.org/t/error-handling-in-jump/13584)

<div class="topic-metadata">

**Author:** [@shoshievass](https://discourse.julialang.org/u/shoshievass)\
**Replies:** 2\
**Last updated:** [August 16, 2018, 8:58pm UTC](https://discourse.julialang.org/t/error-handling-in-jump/13584 "2018-08-16T20:58:03Z")

</div>

I’m trying to use a JuMP model as an input to an ODE solver (using the DifferentialEquations.jl package). It seems to work well most of the time, but occasionally, the solver will output warnings at intermediate values a…

---

## [Comparison of automatic differentiation tools from 2016 still accurate?](https://discourse.julialang.org/t/comparison-of-automatic-differentiation-tools-from-2016-still-accurate/8341)

<div class="topic-metadata">

**Author:** [@anriseth](https://discourse.julialang.org/u/anriseth)\
**Replies:** 41\
**Last updated:** [August 16, 2018, 6:18pm UTC](https://discourse.julialang.org/t/comparison-of-automatic-differentiation-tools-from-2016-still-accurate/8341 "2018-08-16T18:18:50Z")

</div>

I was made aware of a comprehensive comparison of AD tools at a talk I attended yesterday. The best reference I could find online was these slides: http://www.autodiff.org/ad16/Oral/Srajer\_Benchmark.pdf Does anyone know…

---

## [Flux for deep learning in particle physics](https://discourse.julialang.org/t/flux-for-deep-learning-in-particle-physics/13258)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 6\
**Last updated:** [August 16, 2018, 4:25pm UTC](https://discourse.julialang.org/t/flux-for-deep-learning-in-particle-physics/13258 "2018-08-16T16:25:15Z")

</div>

There is a CodaLab code competition for applying deep learning to particle physics https://competitions.codalab.org/competitions/19818#learn\_the\_details As I have a background in the field (see me? See a CERN PhD whic…

---

## [User defined functions with vector constraints](https://discourse.julialang.org/t/user-defined-functions-with-vector-constraints/13574)

<div class="topic-metadata">

**Author:** [@Libbum](https://discourse.julialang.org/u/Libbum)\
**Replies:** 0\
**Last updated:** [August 16, 2018, 3:25pm UTC](https://discourse.julialang.org/t/user-defined-functions-with-vector-constraints/13574 "2018-08-16T15:25:37Z")

</div>

I’ve been thrown in the deep end with a problem that looks to be possible with current Julia tooling, but being new to the language and this particular subset of the mathematics I’m having a hard time. In a MWE format: …

---

## [Choosing order in QuadGK](https://discourse.julialang.org/t/choosing-order-in-quadgk/13534)

<div class="topic-metadata">

**Author:** [@sverek](https://discourse.julialang.org/u/sverek)\
**Replies:** 3\
**Last updated:** [August 16, 2018, 10:10am UTC](https://discourse.julialang.org/t/choosing-order-in-quadgk/13534 "2018-08-16T10:10:01Z")

</div>

Anybody has a rough idea how I should set the order of QuadGK for a standard mass matrix element calculation (Lagrange element) with order p^2 and BigFloat precision N i read this in documentation: It is advisable to i…

---

## [Invalid variable type present in SDP Optimal Power Flow formulation](https://discourse.julialang.org/t/invalid-variable-type-present-in-sdp-optimal-power-flow-formulation/13536)

<div class="topic-metadata">

**Author:** [@Alvaro\_Jose\_Gonzalez](https://discourse.julialang.org/u/Alvaro_Jose_Gonzalez)\
**Replies:** 3\
**Last updated:** [August 16, 2018, 2:21am UTC](https://discourse.julialang.org/t/invalid-variable-type-present-in-sdp-optimal-power-flow-formulation/13536 "2018-08-16T02:21:49Z")

</div>

I am trying to recreate the SDP formulation of the OPF given by Lavaei and Low 2013. After defining the whole model, I receive a warning of an invalid variable. Am I missing any type declaration besides the one for the …

---

## [How to index a \`CatagoricalArray\` then make a new array with the same levels](https://discourse.julialang.org/t/how-to-index-a-catagoricalarray-then-make-a-new-array-with-the-same-levels/12874)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 4\
**Last updated:** [August 15, 2018, 5:51pm UTC](https://discourse.julialang.org/t/how-to-index-a-catagoricalarray-then-make-a-new-array-with-the-same-levels/12874 "2018-08-15T17:51:59Z")

</div>

I have been looking at the source code for CategoricalArray but I can’t figure this out. vec = CategoricalArray(\[1,2,1,2\]) t = vec\[1\] # We know what levels t.pool # CategoricalArrays.CategoricalPool{Int64,UInt32}(\[1,2\]…

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

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