# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=556

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

**Page:** 557

---

## [Print dataframe in HTML](https://discourse.julialang.org/t/print-dataframe-in-html/5319)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 2\
**Last updated:** [August 10, 2017, 5:24pm UTC](https://discourse.julialang.org/t/print-dataframe-in-html/5319 "2017-08-10T17:24:50Z")

</div>

I have a type that has as one of its fields a AbstractDataFrame: struct GeoDataFrame{DF\<:AbstractDataFrame} data::DF coordnames::Vector{Symbol} end This is how I print the object in plain text: # compact show Base…

---

## [Implementing a basic Genetic Algorithm using GPUArrays](https://discourse.julialang.org/t/implementing-a-basic-genetic-algorithm-using-gpuarrays/5290)

<div class="topic-metadata">

**Author:** [@Mikewl](https://discourse.julialang.org/u/Mikewl)\
**Replies:** 18\
**Last updated:** [August 10, 2017, 8:17am UTC](https://discourse.julialang.org/t/implementing-a-basic-genetic-algorithm-using-gpuarrays/5290 "2017-08-10T08:17:55Z")

</div>

So I like playing with Genetic Algorithms and other Evolutionary Algorithms and have gotten nice speedups via using threads before. So I saw GPUArrays and felt it was a good enough reason to setup a linux box again! My…

---

## [Generating \`Array\` of random values from \`Array\` of Distributions](https://discourse.julialang.org/t/generating-array-of-random-values-from-array-of-distributions/5310)

<div class="topic-metadata">

**Author:** [@jacobcvt12](https://discourse.julialang.org/u/jacobcvt12)\
**Replies:** 1\
**Last updated:** [August 9, 2017, 11:45pm UTC](https://discourse.julialang.org/t/generating-array-of-random-values-from-array-of-distributions/5310 "2017-08-09T23:45:30Z")

</div>

I have an Array (of arbitary size) containing the parameters corresponding to the parameters of a distribution. In this example, the Array has size (4, 3, 2) but could e.g. be size (3, 2) or (5, 2, 3, 2), etc. For examp…

---

## [Using an integer-valued variable as the number of summands in JuMP?](https://discourse.julialang.org/t/using-an-integer-valued-variable-as-the-number-of-summands-in-jump/5303)

<div class="topic-metadata">

**Author:** [@xiaoweiz](https://discourse.julialang.org/u/xiaoweiz)\
**Replies:** 5\
**Last updated:** [August 9, 2017, 11:45pm UTC](https://discourse.julialang.org/t/using-an-integer-valued-variable-as-the-number-of-summands-in-jump/5303 "2017-08-09T23:45:18Z")

</div>

I’m trying to reformulate a stochastic program (approximately) as a mixed-integer linear program. A particular constraint involves the summation of N i.i.d. random variables, where N is a decision variable itself, someth…

---

## [Chance constraint modeling](https://discourse.julialang.org/t/chance-constraint-modeling/5301)

<div class="topic-metadata">

**Author:** [@UserMorocco](https://discourse.julialang.org/u/UserMorocco)\
**Replies:** 0\
**Last updated:** [August 9, 2017, 12:49pm UTC](https://discourse.julialang.org/t/chance-constraint-modeling/5301 "2017-08-09T12:49:57Z")

</div>

I have an optimization model with uncertainty in objective function, ie @objective(m, Min, My\_QUANTITY\[t\] \* PRICE\[t\] ) I suppose that the PRICE is uncertain. How this model can be adapted to be used in JuMPChance p…

---

## [Memory leak and JLD, does anyone maintain the package?](https://discourse.julialang.org/t/memory-leak-and-jld-does-anyone-maintain-the-package/5298)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 2\
**Last updated:** [August 9, 2017, 11:35am UTC](https://discourse.julialang.org/t/memory-leak-and-jld-does-anyone-maintain-the-package/5298 "2017-08-09T11:35:55Z")

</div>

Hi, I would like to ask, of someone is maintaining JLD package. There is an open issue https://github.com/JuliaIO/JLD.jl/issues/100 Memory leak when loading multiple arrays in Julia 0.5 more than half a year, which I…

---

## [A humble request/challenge](https://discourse.julialang.org/t/a-humble-request-challenge/5286)

<div class="topic-metadata">

**Author:** [@jzakiya](https://discourse.julialang.org/u/jzakiya)\
**Replies:** 5\
**Last updated:** [August 8, 2017, 9:40pm UTC](https://discourse.julialang.org/t/a-humble-request-challenge/5286 "2017-08-08T21:40:46Z")

</div>

Hi I primarly use Ruby for math/science problems/projects because it’s so easy to program in, and it allows me to think about how to solve problems without worrying about how to code it. I’ve also played around with Cry…

---

## [How to wrap DataFrame \[\] operator?](https://discourse.julialang.org/t/how-to-wrap-dataframe-operator/5267)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 1\
**Last updated:** [August 7, 2017, 8:52pm UTC](https://discourse.julialang.org/t/how-to-wrap-dataframe-operator/5267 "2017-08-07T20:52:57Z")

</div>

I have a type that wraps a AbstractDataFrame, and I am interested in defining a method that just forwards the \[\] operator: struct GeoData{DF\<:AbstractDataFrame} data::DF coordnames::Vector{Symbol} end How to make c…

---

## [Parallel newton-raphson optim](https://discourse.julialang.org/t/parallel-newton-raphson-optim/5226)

<div class="topic-metadata">

**Author:** [@grandemundo82](https://discourse.julialang.org/u/grandemundo82)\
**Replies:** 14\
**Last updated:** [August 7, 2017, 5:48pm UTC](https://discourse.julialang.org/t/parallel-newton-raphson-optim/5226 "2017-08-07T17:48:08Z")

</div>

Anyone has implemented newton-raphson (BFGS or L-BFGS) in parallel in Julia? The flow is super simple but somehow I don’t see how to do it with Optim. It is as follows given x of dimension N. Use N+1 processors, one pro…

---

## [Grouping a DataFrame by something other than an existing column](https://discourse.julialang.org/t/grouping-a-dataframe-by-something-other-than-an-existing-column/5246)

<div class="topic-metadata">

**Author:** [@Seth\_Chandler](https://discourse.julialang.org/u/Seth_Chandler)\
**Replies:** 2\
**Last updated:** [August 6, 2017, 1:49pm UTC](https://discourse.julialang.org/t/grouping-a-dataframe-by-something-other-than-an-existing-column/5246 "2017-08-06T13:49:37Z")

</div>

Is it possible to group a DataFrame by something other than an existing column? Yes, I could add a column to the DataFrame that contains the computed values and then group on that new column. But this may clutter the Da…

---

## [Consumers() in TensorFlow.jl](https://discourse.julialang.org/t/consumers-in-tensorflow-jl/5221)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 0\
**Last updated:** [August 4, 2017, 10:44am UTC](https://discourse.julialang.org/t/consumers-in-tensorflow-jl/5221 "2017-08-04T10:44:07Z")

</div>

I would like to implement this method in TensorFlow.jl https://github.com/ProbabilisticNumerics/cabs which should automatically adjust the size of the minibatch in SGD. I am curious about the method, since in security …

---

## [How to assign subsets of a large dataset into different arrays within a loop](https://discourse.julialang.org/t/how-to-assign-subsets-of-a-large-dataset-into-different-arrays-within-a-loop/5218)

<div class="topic-metadata">

**Author:** [@Devi\_Sree](https://discourse.julialang.org/u/Devi_Sree)\
**Replies:** 1\
**Last updated:** [August 4, 2017, 8:27am UTC](https://discourse.julialang.org/t/how-to-assign-subsets-of-a-large-dataset-into-different-arrays-within-a-loop/5218 "2017-08-04T08:27:47Z")

</div>

I am using for loop that divides a large array say arr and assign the subsets into arrays arr1, arr2.. I am stuck at assigning subsets to arrays within a loop. My whole datastet arr contains 5 rows and 5 columns. …

---

## [Using bgzipped VCF files with GeneticVariation.jl](https://discourse.julialang.org/t/using-bgzipped-vcf-files-with-geneticvariation-jl/5187)

<div class="topic-metadata">

**Author:** [@weinstockj](https://discourse.julialang.org/u/weinstockj)\
**Replies:** 3\
**Last updated:** [August 3, 2017, 7:46pm UTC](https://discourse.julialang.org/t/using-bgzipped-vcf-files-with-geneticvariation-jl/5187 "2017-08-03T19:46:41Z")

</div>

I’m interested in using GeneticVariation.jl to work with VCF files. My VCF files are compressed with bgzip and are indexed using tabix. I’m looking at the documentation for reading in VCF files here: https://github.com/…

---

## [Which approach for multidimensional computation?](https://discourse.julialang.org/t/which-approach-for-multidimensional-computation/5182)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 7\
**Last updated:** [August 3, 2017, 2:47pm UTC](https://discourse.julialang.org/t/which-approach-for-multidimensional-computation/5182 "2017-08-03T14:47:21Z")

</div>

Hello, I need to make a multi-dimension computation, specifically V\_{ft,dc,r,t+1} = V\_{ft,dc,r,t} \*(1-m\_{ft,dc,r,t} - 1/tp\_{ft,dc,r,t}) + V\_{ft\_,dc-1,r,t}\*tp\_{ft,dc-1,r,t}\*\\beta\_{ft,dc,r,t} where, if you are curious…

---

## [Bigfloat lufact](https://discourse.julialang.org/t/bigfloat-lufact/4653)

<div class="topic-metadata">

**Author:** [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Replies:** 8\
**Last updated:** [August 2, 2017, 3:25pm UTC](https://discourse.julialang.org/t/bigfloat-lufact/4653 "2017-08-02T15:25:05Z")

</div>

Has anyone noticed anything odd with lufact on BigFloats? Is there some theoretical weird instability thing I should know about? I am wondering because as I am testing some algorithms I am noticing a pattern that the sam…

---

## [Hierarchical multi-objective linear programming](https://discourse.julialang.org/t/hierarchical-multi-objective-linear-programming/1957)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 8\
**Last updated:** [August 2, 2017, 1:30pm UTC](https://discourse.julialang.org/t/hierarchical-multi-objective-linear-programming/1957 "2017-08-02T13:30:22Z")

</div>

Hierarchical (or lexicographic) multi-objective linear programming is when you have more than one linear objective, and you optimize them in order. Gurobi’s documentation states that it supports this. How can I do thi…

---

## [Code conversion from GAMS to JuMP (Ipopt Solver)](https://discourse.julialang.org/t/code-conversion-from-gams-to-jump-ipopt-solver/5150)

<div class="topic-metadata">

**Author:** [@SingingKim](https://discourse.julialang.org/u/SingingKim)\
**Replies:** 5\
**Last updated:** [August 2, 2017, 12:49pm UTC](https://discourse.julialang.org/t/code-conversion-from-gams-to-jump-ipopt-solver/5150 "2017-08-02T12:49:44Z")

</div>

Is there any better way to convert constraints with multiple indices? Here’s what I’ve done. \[GAMS\] SETS i index of buses /1\*33/ t index of time slots /1\*24/ s red…

---

## [Persistent local data structures in parallel programs](https://discourse.julialang.org/t/persistent-local-data-structures-in-parallel-programs/5175)

<div class="topic-metadata">

**Author:** [@michakraus](https://discourse.julialang.org/u/michakraus)\
**Replies:** 0\
**Last updated:** [August 2, 2017, 10:37am UTC](https://discourse.julialang.org/t/persistent-local-data-structures-in-parallel-programs/5175 "2017-08-02T10:37:48Z")

</div>

I am trying to implement a parallel problem slightly more involved than a simple for loop. Namely, I am trying to implement a simple pseudo-spectral solver for an integro-differential equation which features a complicate…

---

## [Graph Visualization NetworkLayout Error: 'layout' not defined](https://discourse.julialang.org/t/graph-visualization-networklayout-error-layout-not-defined/5154)

<div class="topic-metadata">

**Author:** [@MikeB2012](https://discourse.julialang.org/u/MikeB2012)\
**Replies:** 4\
**Last updated:** [August 2, 2017, 2:34am UTC](https://discourse.julialang.org/t/graph-visualization-networklayout-error-layout-not-defined/5154 "2017-08-02T02:34:29Z")

</div>

I’m new to Julia and have recently tried to use LightGraphs and NetworkLayout. I’ve run in to some problems trying to run one of the examples. The toy example is from the readme: using LightGraphs using NetworkLayout…

---

## [State of DSP?](https://discourse.julialang.org/t/state-of-dsp/1559)

<div class="topic-metadata">

**Author:** [@purplishrock](https://discourse.julialang.org/u/purplishrock)\
**Replies:** 22\
**Last updated:** [August 1, 2017, 4:10pm UTC](https://discourse.julialang.org/t/state-of-dsp/1559 "2017-08-01T16:10:54Z")

</div>

looks like it might be in need of some help the examples could be improved. it’s not currently running any tests for 0.5 i’m volunteering :slight\_smile:

---

## [JuliaOpt parallel algorithms](https://discourse.julialang.org/t/juliaopt-parallel-algorithms/5093)

<div class="topic-metadata">

**Author:** [@ivborissov](https://discourse.julialang.org/u/ivborissov)\
**Replies:** 7\
**Last updated:** [August 1, 2017, 8:43am UTC](https://discourse.julialang.org/t/juliaopt-parallel-algorithms/5093 "2017-08-01T08:43:38Z")

</div>

Hi, I am currently using NLopt.jl to estimate parameters of differential equation systems. I am interested to speed up the calculations hence I am searching for solutions to solve optimization problem in parallel (using…

---

## [Ploting Library - ECharts](https://discourse.julialang.org/t/ploting-library-echarts/5140)

<div class="topic-metadata">

**Author:** [@Antonio\_Loureiro](https://discourse.julialang.org/u/Antonio_Loureiro)\
**Replies:** 5\
**Last updated:** [July 31, 2017, 8:37pm UTC](https://discourse.julialang.org/t/ploting-library-echarts/5140 "2017-07-31T20:37:00Z")

</div>

Created a very small and thin library that wraps ECharts (baidu) js charting library. At this moment it has a very flexible series helper function and the chance to fully pass all ECharts api args. It loads and display…

---

## ["We currently do not support ranged constraints with conic solvers"](https://discourse.julialang.org/t/we-currently-do-not-support-ranged-constraints-with-conic-solvers/5148)

<div class="topic-metadata">

**Author:** [@Ksun46](https://discourse.julialang.org/u/Ksun46)\
**Replies:** 0\
**Last updated:** [July 31, 2017, 7:04am UTC](https://discourse.julialang.org/t/we-currently-do-not-support-ranged-constraints-with-conic-solvers/5148 "2017-07-31T07:04:37Z")

</div>

Hi all, I was using Gurobi to solve a problem with some second-order conic constraints (other constraints are linear). The objective function is quadratic, and I made it into the form of another soc constraint. However,…

---

## [Distributions.jl using a custom random number generator](https://discourse.julialang.org/t/distributions-jl-using-a-custom-random-number-generator/5106)

<div class="topic-metadata">

**Author:** [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Replies:** 2\
**Last updated:** [July 29, 2017, 6:12am UTC](https://discourse.julialang.org/t/distributions-jl-using-a-custom-random-number-generator/5106 "2017-07-29T06:12:22Z")

</div>

Is there any way to use a distribution from Distributions.jl with a custom RNG? I know how to sample in a reproducible manner from a uniform distribution (see x1 and x2 in the code below). But Distrubutions.jl seems to…

---

## [Computation of function moments](https://discourse.julialang.org/t/computation-of-function-moments/5074)

<div class="topic-metadata">

**Author:** [@mzaffalon](https://discourse.julialang.org/u/mzaffalon)\
**Replies:** 3\
**Last updated:** [July 28, 2017, 5:27am UTC](https://discourse.julialang.org/t/computation-of-function-moments/5074 "2017-07-28T05:27:45Z")

</div>

I would like to compute \\int\_a^b(f-\\bar{f})^ndx where \\bar{f}=\\int\_a^bf dx. Is it possible to compute it in one pass?

---

## [One sided formula & ModelMatrix](https://discourse.julialang.org/t/one-sided-formula-modelmatrix/5102)

<div class="topic-metadata">

**Author:** [@clinton](https://discourse.julialang.org/u/clinton)\
**Replies:** 0\
**Last updated:** [July 28, 2017, 3:10am UTC](https://discourse.julialang.org/t/one-sided-formula-modelmatrix/5102 "2017-07-28T03:10:25Z")

</div>

I’m trying to write some 2SLS code, and ran into the following scenarios: I have a one-sided formula and a DataFrame. Is there a simple way to get the model matrix given that formula? The @formula macro throws an error …

---

## [How to output Type 1 fonts and greek letters on plot labels using PyPlot?](https://discourse.julialang.org/t/how-to-output-type-1-fonts-and-greek-letters-on-plot-labels-using-pyplot/5077)

<div class="topic-metadata">

**Author:** [@josimar](https://discourse.julialang.org/u/josimar)\
**Replies:** 1\
**Last updated:** [July 26, 2017, 10:32pm UTC](https://discourse.julialang.org/t/how-to-output-type-1-fonts-and-greek-letters-on-plot-labels-using-pyplot/5077 "2017-07-26T22:32:29Z")

</div>

Hi all, I am getting an error when I am try to plot latex greek letters on the label of a plot using PyPlot. Here is what I am doing: ylabel(L" Ω=Vθ/D\_c ") at the beginning of my script I am using the following optio…

---

## [Evaluate integral on many points (Cubature.jl ?)](https://discourse.julialang.org/t/evaluate-integral-on-many-points-cubature-jl/1723)

<div class="topic-metadata">

**Author:** [@piever](https://discourse.julialang.org/u/piever)\
**Replies:** 44\
**Last updated:** [July 26, 2017, 2:55pm UTC](https://discourse.julialang.org/t/evaluate-integral-on-many-points-cubature-jl/1723 "2017-07-26T14:55:54Z")

</div>

I need to compute an integral on the real line. The tricky part is that I need to compute this integral from many different starting points. The integration package Cubature.jl, which I was trying to use, allows to co…

---

## [User define functions from Python and nonlinear constraint JuMP](https://discourse.julialang.org/t/user-define-functions-from-python-and-nonlinear-constraint-jump/5063)

<div class="topic-metadata">

**Author:** [@pipete40](https://discourse.julialang.org/u/pipete40)\
**Replies:** 0\
**Last updated:** [July 25, 2017, 6:49pm UTC](https://discourse.julialang.org/t/user-define-functions-from-python-and-nonlinear-constraint-jump/5063 "2017-07-25T18:49:22Z")

</div>

Hi JuMP Community, I am working on a problem with a linear objective and one nonlinear constraint. Let mvncdf(x1, x2, x3,…) be the multivariate normal distribution; then, the nonlinear constraint is given by mvncdf(x1, …

---

## [Adding annotations with custom font and color in plot recipes](https://discourse.julialang.org/t/adding-annotations-with-custom-font-and-color-in-plot-recipes/4740)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 13\
**Last updated:** [July 25, 2017, 9:19am UTC](https://discourse.julialang.org/t/adding-annotations-with-custom-font-and-color-in-plot-recipes/4740 "2017-07-25T09:19:54Z")

</div>

I have created a plot recipe for one of my types in GeoStats.jl: @recipe function f(γ::EmpiricalVariogram; bincounts=true) # get the data x, y, n = values(γ) # discard empty bins x = x\[n .\> 0\]; y = y\[n .\> 0\]; n…

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

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