# Specific Domains

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

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

**Page:** 570

---

## [Error in precompiling JuMP on Julia 0.6](https://discourse.julialang.org/t/error-in-precompiling-jump-on-julia-0-6/1578)

<div class="topic-metadata">

**Author:** [@deepakagrawal](https://discourse.julialang.org/u/deepakagrawal)\
**Replies:** 2\
**Last updated:** [January 19, 2017, 3:17am UTC](https://discourse.julialang.org/t/error-in-precompiling-jump-on-julia-0-6/1578 "2017-01-19T03:17:11Z")

</div>

WARNING: Method definition exp(ForwardDiff.Dual{N, T} where T\<:Real where N) in module ForwardDiff at /home/deepak/.julia/v0.6/ForwardDiff/src/dual.jl:336 overwritten at /home/deepak/.julia/v0.6/ForwardDiff/src/dual.jl:3…

---

## [Various constructors and equality for DataFrame](https://discourse.julialang.org/t/various-constructors-and-equality-for-dataframe/1551)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 5\
**Last updated:** [January 18, 2017, 2:20pm UTC](https://discourse.julialang.org/t/various-constructors-and-equality-for-dataframe/1551 "2017-01-18T14:20:19Z")

</div>

I came across this problem when writing tests for a package, for a function that produces dataframes using the DataFrames(columns::AbstractArray{T\<:Any,1}, cnames::AbstractArray{Symbol,1}) constructor. Consider this MW…

---

## [Creating and multiplying a large matrix high order of JuMP variables](https://discourse.julialang.org/t/creating-and-multiplying-a-large-matrix-high-order-of-jump-variables/1534)

<div class="topic-metadata">

**Author:** [@huckl3b3rry87](https://discourse.julialang.org/u/huckl3b3rry87)\
**Replies:** 4\
**Last updated:** [January 18, 2017, 2:06pm UTC](https://discourse.julialang.org/t/creating-and-multiplying-a-large-matrix-high-order-of-jump-variables/1534 "2017-01-18T14:06:46Z")

</div>

I am creating a package NLOptControl.jl that uses JuMP and when the final time is a design variable (tf\_var), the array DMatrix needs to be recalculated each iteration. I modified the functionality that calculates the D…

---

## [How to read range of JLD file?](https://discourse.julialang.org/t/how-to-read-range-of-jld-file/954)

<div class="topic-metadata">

**Author:** [@programista](https://discourse.julialang.org/u/programista)\
**Replies:** 19\
**Last updated:** [January 18, 2017, 1:04pm UTC](https://discourse.julialang.org/t/how-to-read-range-of-jld-file/954 "2017-01-18T13:04:28Z")

</div>

julia\> using JLD julia\> D=load("D.jld","D",(:,1)) ERROR: too few arguments in println at strings/io.jl:25

---

## [Is there an iterative solver that is able to operate on block-matrices (non-concatenated)](https://discourse.julialang.org/t/is-there-an-iterative-solver-that-is-able-to-operate-on-block-matrices-non-concatenated/1516)

<div class="topic-metadata">

**Author:** [@rleegates](https://discourse.julialang.org/u/rleegates)\
**Replies:** 6\
**Last updated:** [January 18, 2017, 8:58am UTC](https://discourse.julialang.org/t/is-there-an-iterative-solver-that-is-able-to-operate-on-block-matrices-non-concatenated/1516 "2017-01-18T08:58:59Z")

</div>

Dear users, I haven’t been able to find an implementation of an iterative solver (invertible matrix, no further specialization) general enough to work on matrices of matrices, i.e. A = \[B C D…; E F G…; H I J…; …\], b = \[…

---

## [Math operations on NLparameter](https://discourse.julialang.org/t/math-operations-on-nlparameter/1474)

<div class="topic-metadata">

**Author:** [@deepakagrawal](https://discourse.julialang.org/u/deepakagrawal)\
**Replies:** 4\
**Last updated:** [January 17, 2017, 10:48pm UTC](https://discourse.julialang.org/t/math-operations-on-nlparameter/1474 "2017-01-17T22:48:15Z")

</div>

I am trying to write a NLexpression sum(alpha^j/prod(i for i=1:max(0,j)) for j=0:floor(C)) where C is NLparameter. I am getting following MethodError: no method matching floor(::JuMP.NonlinearParameter) Closest candid…

---

## [GLVisualize maximum intensity projection: set 'inherent' attenuation](https://discourse.julialang.org/t/glvisualize-maximum-intensity-projection-set-inherent-attenuation/1501)

<div class="topic-metadata">

**Author:** [@samuelpowell](https://discourse.julialang.org/u/samuelpowell)\
**Replies:** 5\
**Last updated:** [January 16, 2017, 10:27pm UTC](https://discourse.julialang.org/t/glvisualize-maximum-intensity-projection-set-inherent-attenuation/1501 "2017-01-16T22:27:29Z")

</div>

I am using GLVisualize to render a maximum intensity protection of some volumetric data: viewable = visualize(array, :mip) \_view(viewable, window, camera=:perspective) This works okay, but at certain angles the field i…

---

## [Solving QP and Conic Programs via Linear Cuts?](https://discourse.julialang.org/t/solving-qp-and-conic-programs-via-linear-cuts/1526)

<div class="topic-metadata">

**Author:** [@ccoffrin](https://discourse.julialang.org/u/ccoffrin)\
**Replies:** 2\
**Last updated:** [January 16, 2017, 7:41pm UTC](https://discourse.julialang.org/t/solving-qp-and-conic-programs-via-linear-cuts/1526 "2017-01-16T19:41:41Z")

</div>

In JuMP, is there a solver that takes in a convex model and an LP solver and solves the model by a sequence of linear cuts?

---

## [Ipopt Windows Error](https://discourse.julialang.org/t/ipopt-windows-error/1504)

<div class="topic-metadata">

**Author:** [@deepakagrawal](https://discourse.julialang.org/u/deepakagrawal)\
**Replies:** 2\
**Last updated:** [January 16, 2017, 6:34am UTC](https://discourse.julialang.org/t/ipopt-windows-error/1504 "2017-01-16T06:34:54Z")

</div>

I got following error when using IpoptSolver on windows. I also tried running Pkg.test(“Ipopt”) and got similar error. LoadError: ReadOnlyMemoryError() in solveProblem(::Ipopt.IpoptProblem) at C:\\Users\\agraw\\.julia\\v0.…

---

## [GLVisualize - primitives](https://discourse.julialang.org/t/glvisualize-primitives/1485)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 4\
**Last updated:** [January 15, 2017, 8:56pm UTC](https://discourse.julialang.org/t/glvisualize-primitives/1485 "2017-01-15T20:56:40Z")

</div>

Hello, which primitives are there in GLVisualize? I found spheres and lines, but is there also a cylinder primitive? I would like to port some code from cgkit (Python) to Julia. They have a lot of primitives: http:/…

---

## [GLVisualize example fails](https://discourse.julialang.org/t/glvisualize-example-fails/1482)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 2\
**Last updated:** [January 14, 2017, 6:13pm UTC](https://discourse.julialang.org/t/glvisualize-example-fails/1482 "2017-01-14T18:13:45Z")

</div>

Hello, I try to run the following example code from the manual: https://gist.github.com/ufechner7/8559c4fe9c7e4b0ec0b858090684d5e5 This results in the following error message: julia\> include("viewer.jl") ERROR: LoadE…

---

## [Kolmogorov–Smirnov test, retrieve output](https://discourse.julialang.org/t/kolmogorov-smirnov-test-retrieve-output/1480)

<div class="topic-metadata">

**Author:** [@evolgenomology](https://discourse.julialang.org/u/evolgenomology)\
**Replies:** 2\
**Last updated:** [January 14, 2017, 1:42pm UTC](https://discourse.julialang.org/t/kolmogorov-smirnov-test-retrieve-output/1480 "2017-01-14T13:42:33Z")

</div>

Hi, I would like to use the KS test on 2000 datasets and each time I run it just retrieve the output values into an array. Being quite new to Julia, I wonder how (and if) this is possible. Currently, I am doing Approxim…

---

## [How to compute the smallest integer number strictly greater than a given number?](https://discourse.julialang.org/t/how-to-compute-the-smallest-integer-number-strictly-greater-than-a-given-number/1304)

<div class="topic-metadata">

**Author:** [@chobbes](https://discourse.julialang.org/u/chobbes)\
**Replies:** 3\
**Last updated:** [January 14, 2017, 2:48am UTC](https://discourse.julialang.org/t/how-to-compute-the-smallest-integer-number-strictly-greater-than-a-given-number/1304 "2017-01-14T02:48:30Z")

</div>

Is there a Julia function that returns the smallest integer number strictly greater than a given number? For example, if I give 0.5, it returns me 1.0. If I give 1.0, it returns 2.0? ceil() can do the former example for …

---

## [MixedModels fit error](https://discourse.julialang.org/t/mixedmodels-fit-error/1416)

<div class="topic-metadata">

**Author:** [@JordanCuevas](https://discourse.julialang.org/u/JordanCuevas)\
**Replies:** 6\
**Last updated:** [January 13, 2017, 5:19pm UTC](https://discourse.julialang.org/t/mixedmodels-fit-error/1416 "2017-01-13T17:19:06Z")

</div>

I am trying to fit a fairly complicated mixed model using Julia and the MixedModels package, on a dataset that has ~3.5 million rows (see screen shot for model specification and errors). The model is nested, with the r…

---

## [ArrayFire Julia: Performant way to calculate vector cross product?](https://discourse.julialang.org/t/arrayfire-julia-performant-way-to-calculate-vector-cross-product/1458)

<div class="topic-metadata">

**Author:** [@Boxed](https://discourse.julialang.org/u/Boxed)\
**Replies:** 0\
**Last updated:** [January 13, 2017, 9:51am UTC](https://discourse.julialang.org/t/arrayfire-julia-performant-way-to-calculate-vector-cross-product/1458 "2017-01-13T09:51:20Z")

</div>

Hi Is there a way to calculate vector cross product through ArrayFire.jl in a performant way? The function is not implemented in ArrayFire and the getindex() and setindex!() functions for Julia cause data movement betwe…

---

## [Formula creation without direct name specification](https://discourse.julialang.org/t/formula-creation-without-direct-name-specification/1448)

<div class="topic-metadata">

**Author:** [@evoclue](https://discourse.julialang.org/u/evoclue)\
**Replies:** 2\
**Last updated:** [January 12, 2017, 8:06pm UTC](https://discourse.julialang.org/t/formula-creation-without-direct-name-specification/1448 "2017-01-12T20:06:21Z")

</div>

Say I have a DataFrame called mydata where names(mydata) is Symbol\[5001\] consisting of :y, :x1, :x2, :x3, :x4, … (the other 4995 symbols) … , :x5000. I want to fit models with the formula ModelFrame(y ~ x1, mydata), Mod…

---

## [Which MCMC library for continuous time stochastic process inference?](https://discourse.julialang.org/t/which-mcmc-library-for-continuous-time-stochastic-process-inference/1422)

<div class="topic-metadata">

**Author:** [@nbren12](https://discourse.julialang.org/u/nbren12)\
**Replies:** 12\
**Last updated:** [January 12, 2017, 8:14am UTC](https://discourse.julialang.org/t/which-mcmc-library-for-continuous-time-stochastic-process-inference/1422 "2017-01-12T08:14:42Z")

</div>

I am just getting started in julia, and there seem to be many options for doing bayesian inference. I have been looking at Mamba and Klara, but I am not sure which is better for what I want to do: inference using continu…

---

## [Factor multiplication values: incorrect reshape?](https://discourse.julialang.org/t/factor-multiplication-values-incorrect-reshape/1394)

<div class="topic-metadata">

**Author:** [@hpoit](https://discourse.julialang.org/u/hpoit)\
**Replies:** 4\
**Last updated:** [January 11, 2017, 4:17pm UTC](https://discourse.julialang.org/t/factor-multiplication-values-incorrect-reshape/1394 "2017-01-11T16:17:24Z")

</div>

I can’t get Cvaluespace to output the correct values, identical to table 3. I think it has to do with reshape, notebook is below. https://github.com/hpoit/DFactor.jl/blob/master/function%20DFmultiply.ipynb Thanks …

---

## [Plots: Labeling](https://discourse.julialang.org/t/plots-labeling/1309)

<div class="topic-metadata">

**Author:** [@Diger](https://discourse.julialang.org/u/Diger)\
**Replies:** 11\
**Last updated:** [January 11, 2017, 2:11am UTC](https://discourse.julialang.org/t/plots-labeling/1309 "2017-01-11T02:11:56Z")

</div>

In old Plots I could use sth like: xlabel=“\\u3b7” which doesnt work anymore now. Also is it possible to increase the legend size and text?!?

---

## [How to turn off warning in JuMP](https://discourse.julialang.org/t/how-to-turn-off-warning-in-jump/1400)

<div class="topic-metadata">

**Author:** [@FANG\_Colin](https://discourse.julialang.org/u/FANG_Colin)\
**Replies:** 1\
**Last updated:** [January 10, 2017, 6:38pm UTC](https://discourse.julialang.org/t/how-to-turn-off-warning-in-jump/1400 "2017-01-10T18:38:47Z")

</div>

I made a helper function for constraints """ If x is Bin & y is Int, it simply means x = y % 2. """ function addParityConstraint(model::JuMP.Model, x, y) @variable(model, odd\_dummy, Int) @constraint(model, x + y…

---

## [ANN: QNaNs.jl (easier quiet NaNs)](https://discourse.julialang.org/t/ann-qnans-jl-easier-quiet-nans/1387)

<div class="topic-metadata">

**Author:** [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Replies:** 2\
**Last updated:** [January 10, 2017, 12:50pm UTC](https://discourse.julialang.org/t/ann-qnans-jl-easier-quiet-nans/1387 "2017-01-10T12:50:37Z")

</div>

QNaNs.jl Simplifies the use of quiet NaNs to propagate information from within numerical computations. ####Quick Look \> Pkg.add("QNaNs") \> using QNaNs \> a\_qnan = qnan(36) NaN \> payload = qnan( a\_qnan ) 36 \> typeof(a\_…

---

## [Query on histc and histogram counts](https://discourse.julialang.org/t/query-on-histc-and-histogram-counts/1371)

<div class="topic-metadata">

**Author:** [@Donald\_Lacombe](https://discourse.julialang.org/u/Donald_Lacombe)\
**Replies:** 5\
**Last updated:** [January 9, 2017, 7:52pm UTC](https://discourse.julialang.org/t/query-on-histc-and-histogram-counts/1371 "2017-01-09T19:52:17Z")

</div>

Dear Julia Users, I want to count the number of times a zip code appears in a vector and found the following topic: I ran the following code: using StatsBase using DataFrames df1 = readtable("Test2.csv") Out\[4\]: ir…

---

## [Cplex 32bit windows 32 bit](https://discourse.julialang.org/t/cplex-32bit-windows-32-bit/1365)

<div class="topic-metadata">

**Author:** [@PLP](https://discourse.julialang.org/u/PLP)\
**Replies:** 8\
**Last updated:** [January 9, 2017, 6:41pm UTC](https://discourse.julialang.org/t/cplex-32bit-windows-32-bit/1365 "2017-01-09T18:41:51Z")

</div>

Hello Is there some way to install cplex (Pkg.add(“CPLEX”)) on windows 32 bit ? When I to add CPLEX it is written that it could not find the CPLEX installation… Thanks

---

## [JuMP: reuse solver objects?](https://discourse.julialang.org/t/jump-reuse-solver-objects/1368)

<div class="topic-metadata">

**Author:** [@evanfields](https://discourse.julialang.org/u/evanfields)\
**Replies:** 1\
**Last updated:** [January 9, 2017, 3:24pm UTC](https://discourse.julialang.org/t/jump-reuse-solver-objects/1368 "2017-01-09T15:24:52Z")

</div>

I’m using JuMP to solve lots of (fairly) small problems sequentially. Is there a major reason for/against reusing solver objects? I.e. better (A) or (B): A for i in 1:50 m = Model(solver = CbcSolver()) ... so…

---

## [Logging solver output from JuMP](https://discourse.julialang.org/t/logging-solver-output-from-jump/1353)

<div class="topic-metadata">

**Author:** [@abulak](https://discourse.julialang.org/u/abulak)\
**Replies:** 1\
**Last updated:** [January 8, 2017, 4:13pm UTC](https://discourse.julialang.org/t/logging-solver-output-from-jump/1353 "2017-01-08T16:13:54Z")

</div>

Is there a standard way in JuMP to log stdoutput of a solver to a file? I tried the trick with TT = STDOUT (outRead, outWrite) = redirect\_stdout() solve(m) close(outWrite) data = readavailable(outRead) close(outRead) r…

---

## [Visualize 3D slices of an 3D image volume?](https://discourse.julialang.org/t/visualize-3d-slices-of-an-3d-image-volume/1255)

<div class="topic-metadata">

**Author:** [@jwu](https://discourse.julialang.org/u/jwu)\
**Replies:** 10\
**Last updated:** [January 5, 2017, 11:17pm UTC](https://discourse.julialang.org/t/visualize-3d-slices-of-an-3d-image-volume/1255 "2017-01-05T23:17:57Z")

</div>

I’d like to visualize a 3D image volume, but did not find an example in Plots.jl and GLVisualize.jl. one example is here I found that there is an example in the tutorial of GLAbstraction, but it requires an existing…

---

## [Fitting a Distribution to existing data](https://discourse.julialang.org/t/fitting-a-distribution-to-existing-data/928)

<div class="topic-metadata">

**Author:** [@bluesmoon](https://discourse.julialang.org/u/bluesmoon)\
**Replies:** 16\
**Last updated:** [January 5, 2017, 7:26pm UTC](https://discourse.julialang.org/t/fitting-a-distribution-to-existing-data/928 "2017-01-05T19:26:18Z")

</div>

Good $(period\_of\_day) to all, Let me preface this question by saying that there is a good chance (p \> 0.8) that I don’t know what I’m talking about, so feel free to redirect me. I’ll explain what I have and what I need…

---

## [Recommendations for ODBC](https://discourse.julialang.org/t/recommendations-for-odbc/1279)

<div class="topic-metadata">

**Author:** [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Replies:** 6\
**Last updated:** [January 5, 2017, 4:12am UTC](https://discourse.julialang.org/t/recommendations-for-odbc/1279 "2017-01-05T04:12:34Z")

</div>

I need to decide (soon) between using the ODBC.jl package, or using ODBC via PyCall.jl. Back mid 2015, we’d looked at ODBC.jl, but it wasn’t ready at that point, and we ended up making our own MariaDB/MySQL wrapper for …

---

## [UnicodePlots examples; Plotly licensing](https://discourse.julialang.org/t/unicodeplots-examples-plotly-licensing/1280)

<div class="topic-metadata">

**Author:** [@Evizero](https://discourse.julialang.org/u/Evizero)\
**Replies:** 9\
**Last updated:** [January 4, 2017, 2:08pm UTC](https://discourse.julialang.org/t/unicodeplots-examples-plotly-licensing/1280 "2017-01-04T14:08:12Z")

</div>

If it is really only just about having a quick and dirty look from the terminal, then maybe this does the job: julia\> using UnicodePlots julia\> histogram(randn(1000)) ┌──────────────────────────────────…

---

## [Gadfly - Positioning the legend and entry alignments](https://discourse.julialang.org/t/gadfly-positioning-the-legend-and-entry-alignments/1272)

<div class="topic-metadata">

**Author:** [@v-i-s-h](https://discourse.julialang.org/u/v-i-s-h)\
**Replies:** 0\
**Last updated:** [January 4, 2017, 9:16am UTC](https://discourse.julialang.org/t/gadfly-positioning-the-legend-and-entry-alignments/1272 "2017-01-04T09:16:49Z")

</div>

Hi, I’m using Gadfly to plot some results. I want to put the legend on top of the figure, but when I use the following code results = Dict{String,Array{Float64,1}}() # Run the experiments and put the observations into…

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

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