Yue Yang
Yue Yang
@KristofferC Is there any issues or blockers to merge this?
```julia function Base.view(A::DenseAxisArray{T,N}, idx...) where {T,N} new_indices = Base.to_index(A, idx) new_axes = _getindex_recurse(A.axes, new_indices, _is_range) return DenseAxisArray(view(A.data, new_indices...), new_axes...) end ``` But the code does not work because we use...
For performance reasons: ```julia julia> using JuMP julia> A = Containers.@container([i=1:100, j=1:200], i+j, container=Array); julia> DA = Containers.@container([i=1:100, j=1:200], i+j, container=Containers.DenseAxisArray); julia> size(A) (100, 200) julia> size(DA) (100, 200) julia>...
Sometimes we want to extract a row or column of variables to treat it like a 1-d array. For example: ```julia for i in axes(variables, 1) @constraint(LinearAlgebra.dot(f(i), variables[i, :])
Yes, we can bypass `DenseAxisArray` to select the view of its underlying array directly as an alternative. In fact, `view` of `DenseAxisArray` is just a wrapper built upon `view` of...
Unfortunately, I don't have a benchmark for this issue now.
The same problem as https://github.com/JuliaPy/PyCall.jl/issues/71. The problem is caused by code at https://github.com/casadi/casadi/blob/12fa60f676716ae09aa2abe34c1c9b9cf426e68a/swig/casadi.i#L4403
I try it on Windows When I put `libhsl.dll` in a directory in my PATH and use Ipopt bundled with `Ipopt_jll`, following error is encountered. ``` Exception of type: OPTION_INVALID...
Does https://github.com/jump-dev/JuMP.jl/issues/2587#issuecomment-834065020 solve the problem? Based on fix of JuMP side above, should we define the following code here to solve this problem? ```julia MOI.is_set_by_optimize(::ModelAttribute) = true MOI.is_set_by_optimize(::VariableAttribute) = true...
I met the same error. I tried to compile `a6nt` in my Linux virtual machine, there is `csv94.dll` in `bin`folder, but it is a symlink. So if you do this...