Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug report when using SCS solver #125

Closed
Ryanlaker opened this issue Nov 28, 2018 · 6 comments
Closed

bug report when using SCS solver #125

Ryanlaker opened this issue Nov 28, 2018 · 6 comments

Comments

@Ryanlaker
Copy link

Ryanlaker commented Nov 28, 2018

Please submit a bug report with steps to reproduce this fault, and any error messages that follow (i
n their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x6669d61c -- validateLinSys at /home/Tony/github/scs\linsy
s\common.c:47
while loading C:\Users\re876928\Desktop\Positive definite Matrix\New folder\sample_case5_modifyPposi
tive_v5.jl, in expression starting on line 34
validateLinSys at /home/Tony/github/scs\linsys\common.c:41
validate at /home/Tony/github/scs\src\scs.c:615 [inlined]
scs_init at /home/Tony/github/scs\src\scs.c:843
SCS_init at C:\Users\re876928\AppData\Local\JuliaPro-0.6.4.1\pkgs-0.6.4.1\v0.6\SCS\src\low_level_wra
pper.jl:13 [inlined]
SCS_solve at C:\Users\re876928\AppData\Local\JuliaPro-0.6.4.1\pkgs-0.6.4.1\v0.6\SCS\src\low_level_wr
apper.jl:44
#SCS_solve#8 at C:\Users\re876928\AppData\Local\JuliaPro-0.6.4.1\pkgs-0.6.4.1\v0.6\SCS\src\high_leve
l_wrapper.jl:140
unknown function (ip: 000000002B9CC406)
jl_call_fptr_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administra
tor/buildbot/worker/package_win64/build/src\julia_internal.h:339 [inlined]
jl_call_method_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administ
rator/buildbot/worker/package_win64/build/src\julia_internal.h:358 [inlined]
jl_apply_generic at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/b
uildbot/worker/package_win64/build/src\gf.c:1903 [inlined]
jl_apply at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/
worker/package_win64/build/src\julia.h:1424 [inlined]
jl_invoke at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot
/worker/package_win64/build/src\gf.c:51
SCS_solve at C:\Users\re876928\AppData\Local\JuliaPro-0.6.4.1\pkgs-0.6.4.1\v0.6\SCS\src\high_level_w
rapper.jl:127
unknown function (ip: 000000002B9CBDC8)
jl_call_fptr_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administra
tor/buildbot/worker/package_win64/build/src\julia_internal.h:339 [inlined]
jl_call_method_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administ
rator/buildbot/worker/package_win64/build/src\julia_internal.h:358 [inlined]
jl_apply_generic at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/b
uildbot/worker/package_win64/build/src\gf.c:1903 [inlined]
jl_apply at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/
worker/package_win64/build/src\julia.h:1424 [inlined]
jl_invoke at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot
/worker/package_win64/build/src\gf.c:51
#SCS_solve#9 at C:\Users\re876928\AppData\Local\JuliaPro-0.6.4.1\pkgs-0.6.4.1\v0.6\SCS\src\high_leve
l_wrapper.jl:154
unknown function (ip: 000000002B9CBAF5)
jl_call_fptr_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administra
tor/buildbot/worker/package_win64/build/src\julia_internal.h:339 [inlined]
jl_call_method_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administ
rator/buildbot/worker/package_win64/build/src\julia_internal.h:358 [inlined]
jl_apply_generic at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/b
uildbot/worker/package_win64/build/src\gf.c:1903 [inlined]
jl_apply at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/
worker/package_win64/build/src\julia.h:1424 [inlined]
jl_invoke at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot
/worker/package_win64/build/src\gf.c:51
SCS_solve at C:\Users\re876928\AppData\Local\JuliaPro-0.6.4.1\pkgs-0.6.4.1\v0.6\SCS\src\high_level_w
rapper.jl:154
optimize! at C:\Users\re876928\AppData\Local\JuliaPro-0.6.4.1\pkgs-0.6.4.1\v0.6\SCS\src\SCSSolverInt
erface.jl:92
unknown function (ip: 000000002B9CB16E)
jl_call_fptr_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administra
tor/buildbot/worker/package_win64/build/src\julia_internal.h:339 [inlined]
jl_call_method_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administ
rator/buildbot/worker/package_win64/build/src\julia_internal.h:358 [inlined]
jl_apply_generic at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/b
uildbot/worker/package_win64/build/src\gf.c:1903
#solve#116 at C:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Users\re876928\AppData\Local\Jul
iaPro-0.6.4.1\pkgs-0.6.4.1\v0.6\JuMP\src\solvers.jl:175
unknown function (ip: 000000000D6EF560)
jl_call_fptr_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administra
tor/buildbot/worker/package_win64/build/src\julia_internal.h:339 [inlined]
jl_call_method_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administ
rator/buildbot/worker/package_win64/build/src\julia_internal.h:358 [inlined]
jl_apply_generic at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/b
uildbot/worker/package_win64/build/src\gf.c:1903 [inlined]
jl_apply at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/
worker/package_win64/build/src\julia.h:1424 [inlined]
jl_invoke at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot
/worker/package_win64/build/src\gf.c:51
solve at C:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Users\re876928\AppData\Local\JuliaPro
-0.6.4.1\pkgs-0.6.4.1\v0.6\JuMP\src\solvers.jl:150
unknown function (ip: 000000000D6ED4E6)
jl_call_fptr_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administra
tor/buildbot/worker/package_win64/build/src\julia_internal.h:339 [inlined]
jl_call_method_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administ
rator/buildbot/worker/package_win64/build/src\julia_internal.h:358 [inlined]
jl_apply_generic at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/b
uildbot/worker/package_win64/build/src\gf.c:1903
do_call at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/w
orker/package_win64/build/src\interpreter.c:75
eval at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/work
er/package_win64/build/src\interpreter.c:242
jl_interpret_toplevel_expr at /home/Administrator/buildbot/worker/package_win64/build/src/home/Admin
istrator/buildbot/worker/package_win64/build/src\interpreter.c:34
jl_toplevel_eval_flex at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administra
tor/buildbot/worker/package_win64/build/src\toplevel.c:577
jl_parse_eval_all at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/
buildbot/worker/package_win64/build/src\ast.c:873
include_string at .\loading.jl:522
include_string at C:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Users\re876928\AppData\Local
\JuliaPro-0.6.4.1\pkgs-0.6.4.1\v0.6\CodeTools\src\eval.jl:30
unknown function (ip: 000000000D661165)
jl_call_fptr_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administra
tor/buildbot/worker/package_win64/build/src\julia_internal.h:339 [inlined]
jl_call_method_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administ
rator/buildbot/worker/package_win64/build/src\julia_internal.h:358 [inlined]
jl_apply_generic at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/b
uildbot/worker/package_win64/build/src\gf.c:1903
do_call at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/w
orker/package_win64/build/src\interpreter.c:75
eval at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/work
er/package_win64/build/src\interpreter.c:242
jl_interpret_toplevel_expr at /home/Administrator/buildbot/worker/package_win64/build/src/home/Admin
istrator/buildbot/worker/package_win64/build/src\interpreter.c:34
jl_toplevel_eval_flex at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administra
tor/buildbot/worker/package_win64/build/src\toplevel.c:577
jl_toplevel_eval_in at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrato
r/buildbot/worker/package_win64/build/src\builtins.c:496
include_string at C:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Users\re876928\AppData\Local
\JuliaPro-0.6.4.1\pkgs-0.6.4.1\v0.6\CodeTools\src\eval.jl:34
jl_call_fptr_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administra
tor/buildbot/worker/package_win64/build/src\julia_internal.h:339 [inlined]
jl_call_method_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administ
rator/buildbot/worker/package_win64/build/src\julia_internal.h:358 [inlined]
jl_apply_generic at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/b
uildbot/worker/package_win64/build/src\gf.c:1903
#102 at C:\Users\re876928\AppData\Local\JuliaPro-0.6.4.1\pkgs-0.6.4.1\v0.6\Atom\src\eval.jl:82
withpath at C:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Users\re876928\AppData\Local\Julia
Pro-0.6.4.1\pkgs-0.6.4.1\v0.6\CodeTools\src\utils.jl:30
unknown function (ip: 000000000D660C6A)
jl_call_fptr_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administra
tor/buildbot/worker/package_win64/build/src\julia_internal.h:339 [inlined]
jl_call_method_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administ
rator/buildbot/worker/package_win64/build/src\julia_internal.h:358 [inlined]
jl_apply_generic at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/b
uildbot/worker/package_win64/build/src\gf.c:1903
withpath at C:\Users\re876928\AppData\Local\JuliaPro-0.6.4.1\pkgs-0.6.4.1\v0.6\Atom\src\eval.jl:38
unknown function (ip: 000000000D66091A)
jl_call_fptr_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administra
tor/buildbot/worker/package_win64/build/src\julia_internal.h:339 [inlined]
jl_call_method_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administ
rator/buildbot/worker/package_win64/build/src\julia_internal.h:358 [inlined]
jl_apply_generic at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/b
uildbot/worker/package_win64/build/src\gf.c:1903 [inlined]
jl_apply at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/
worker/package_win64/build/src\julia.h:1424 [inlined]
jl_invoke at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot
/worker/package_win64/build/src\gf.c:51
hideprompt at C:\Users\re876928\AppData\Local\JuliaPro-0.6.4.1\pkgs-0.6.4.1\v0.6\Atom\src\repl.jl:67
unknown function (ip: 000000000D660376)
jl_call_fptr_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administra
tor/buildbot/worker/package_win64/build/src\julia_internal.h:339 [inlined]
jl_call_method_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administ
rator/buildbot/worker/package_win64/build/src\julia_internal.h:358 [inlined]
jl_apply_generic at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/b
uildbot/worker/package_win64/build/src\gf.c:1903
macro expansion at C:\Users\re876928\AppData\Local\JuliaPro-0.6.4.1\pkgs-0.6.4.1\v0.6\Atom\src\eval.
jl:80 [inlined]
#100 at .\task.jl:80
jl_call_fptr_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administra
tor/buildbot/worker/package_win64/build/src\julia_internal.h:339 [inlined]
jl_call_method_internal at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administ
rator/buildbot/worker/package_win64/build/src\julia_internal.h:358 [inlined]
jl_apply_generic at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/b
uildbot/worker/package_win64/build/src\gf.c:1903
jl_apply at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/
worker/package_win64/build/src\julia.h:1424 [inlined]
start_task at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbo
t/worker/package_win64/build/src\task.c:267
Allocations: 34085461 (Pool: 34082640; Big: 2821); GC: 111

Julia has exited. Press Enter to start a new session.

Here is my code as below.

using JuMP
using SCS
using DataFrames,ConditionalJuMP
m = Model(solver=SCSSolver())
#importing data from csv files
path1="C:\\Users\..\\Positive definite Matrix\\ef.csv"
path2="C:\\Users\..\\Positive definite Matrix\\pii.csv"
xi=readcsv(path1)      #ei fi dataset, sammple_size * 2*bus_num
P_all=readcsv(path2)/100   # all bus power sets,sammple_size * 2*bus_num
Pi=-1*P_all[:,2]            #only bus power at bus 2 
sample_size=10000            # sample size
bus_num=5                   #bus number
#define variables

@variable(m,aij[i=1:2*bus_num,j=1:2*bus_num],Symmetric) # define coefficients matrix aij by 2bus_num*2bus_num
@SDconstraint(m, aij >= eye(2*bus_num))
@variable(m,t[i=1:sample_size])
#define constraints
@constraint(m,[i=1:sample_size],(xi[i,:]'*aij*xi[i,:]-Pi[i])<=t[i])
@constraint(m,[i=1:sample_size],(xi[i,:]'*aij*xi[i,:]-Pi[i])>=-t[i])
@constraint(m,[i=1:sample_size],xi[i,:]'*aij*xi[i,:]>=0)
@objective(m, Min,sum(t[i]/sample_size for i=1:sample_size))

solve(m)
println("m = ",getobjectivevalue(m))
println("Aij = ", getvalue(aij))
Aij=getvalue(aij)
output1="C:\\Users\\re876928\\Desktop\\Positive definite Matrix\\result_case5P_bus2_A_v2.csv"
writedlm(output1,Aij)

#here I attach some data for example:
xi=

-1.01671 | 0.804448 | 0.932138 | 1.064137 | -0.96322 | 0.357144 | -0.72668 | -0.58405 | 0 | -0.46381
-- | -- | -- | -- | -- | -- | -- | -- | -- | --
-1.0484 | 1.076371 | 1.099027 | 1.061557 | -0.95185 | 0.239189 | -0.12324 | 0.046231 | 0 | -0.48067
-0.98026 | 0.271254 | 0.184947 | 1.062838 | -0.95879 | 0.44531 | -1.05041 | -1.08434 | 0 | -0.47032
-0.9807 | 0.278821 | 0.231133 | 1.062967 | -0.9593 | 0.444372 | -1.04782 | -1.07544 | 0 | -0.46957
-0.95307 | -0.00768 | 0.128808 | 1.067744 | -0.97852 | 0.509028 | -1.08308 | -1.09243 | 0 | -0.44
-1.01487 | 0.815326 | 1.065956 | 1.067059 | -0.97468 | 0.369144 | -0.71315 | -0.27154 | 0 | -0.44622
-0.99509 | 0.55036 | 0.845087 | 1.066557 | -0.97315 | 0.418712 | -0.93363 | -0.70415 | 0 | -0.44855
-0.99437 | 0.462655 | 0.202107 | 1.062037 | -0.95534 | 0.410955 | -0.98078 | -1.08127 | 0 | -0.47543
-1.04019 | 1.056407 | 1.094617 | 1.068134 | -0.97839 | 0.294169 | -0.2439 | -0.10868 | 0 | -0.44042
-0.98646 | 0.402764 | 0.345682 | 1.064859 | -0.96678 | 0.435937 | -1.00823 | -1.04427 | 0 | -0.45834
-0.95613 | 0.011932 | 0.179892 | 1.0665 | -0.97364 | 0.50183 | -1.08545 | -1.08519 | 0 | -0.44771
-0.97778 | 0.268416 | 0.239204 | 1.064528 | -0.96562 | 0.453894 | -1.05058 | -1.07368 | 0 | -0.46008
-1.01023 | 0.753453 | 0.721768 | 1.066487 | -0.97275 | 0.380925 | -0.77994 | -0.83009 | 0 | -0.4492
-1.0288 | 0.938294 | 0.922779 | 1.063559 | -0.96072 | 0.318483 | -0.54067 | -0.59873 | 0 | -0.46758
-0.96968 | 0.153846 | 0.305977 | 1.064784 | -0.96672 | 0.470826 | -1.07169 | -1.05659 | 0 | -0.4584
-1.01079 | 0.742325 | 0.76853 | 1.065132 | -0.96738 | 0.376257 | -0.79075 | -0.78699 | 0 | -0.45749
-0.9596 | 0.070443 | 0.305388 | 1.067224 | -0.97638 | 0.495976 | -1.08173 | -1.05676 | 0 | -0.44341
-1.04439 | 1.054649 | 1.041372 | 1.060305 | -0.94658 | 0.25114 | -0.24502 | 0.354319 | 0 | -0.48824
-0.96391 | 0.031775 | 0.064673 | 1.062631 | -0.95819 | 0.479187 | -1.08421 | -1.0981 | 0 | -0.47119
-1.02889 | 0.920536 | 1.091525 | 1.06118 | -0.95073 | 0.311912 | -0.57272 | -0.13628 | 0 | -0.48225
-1.02551 | 0.90484 | 1.095014 | 1.063799 | -0.96153 | 0.329815 | -0.59619 | -0.1046 | 0 | -0.46638
-0.98043 | 0.222368 | 0.484985 | 1.06046 | -0.94886 | 0.439739 | -1.06099 | -0.98731 | 0 | -0.48481
-0.98377 | 0.392459 | 0.307984 | 1.06653 | -0.97343 | 0.444667 | -1.01025 | -1.056 | 0 | -0.44808
-1.01997 | 0.820056 | 1.054977 | 1.062209 | -0.95522 | 0.341745 | -0.70616 | -0.31148 | 0 | -0.47569
-0.96073 | 0.065357 | 0.245465 | 1.066266 | -0.97267 | 0.492072 | -1.08219 | -1.07226 | 0 | -0.44923
-1.0283 | 0.950261 | 1.068804 | 1.065715 | -0.96921 | 0.326091 | -0.5195 | -0.26011 | 0 | -0.45473
-1.05373 | 1.083474 | 1.022335 | 1.057826 | -0.93571 | 0.198191 | 0.006799 | 0.405988 | 0 | -0.50344
-1.0317 | 0.923393 | 1.099619 | 1.057609 | -0.93545 | 0.291268 | -0.56685 | -0.02883 | 0 | -0.50373
-1.04556 | 1.064773 | 1.021176 | 1.061154 | -0.95008 | 0.250539 | -0.20624 | 0.408897 | 0 | -0.48324
-1.02758 | 0.889283 | 0.890578 | 1.059292 | -0.94302 | 0.311094 | -0.62079 | -0.64565 | 0 | -0.49319
-1.00297 | 0.608146 | 0.859524 | 1.0635 | -0.9609 | 0.392143 | -0.89607 | -0.68645 | 0 | -0.46726
-1.03616 | 0.99431 | 1.099899 | 1.061055 | -0.95004 | 0.285966 | -0.43009 | -0.01486 | 0 | -0.48326
-1.03751 | 1.040103 | 1.0987 | 1.068008 | -0.9779 | 0.302774 | -0.30432 | 0.053406 | 0 | -0.44121
-1.02158 | 0.836906 | 0.795576 | 1.061446 | -0.95222 | 0.336467 | -0.69091 | -0.75964 | 0 | -0.48004
-1.03284 | 0.974045 | 1.017009 | 1.062918 | -0.95796 | 0.303088 | -0.47281 | -0.41916 | 0 | -0.47169
-1.02572 | 0.908426 | 0.96292 | 1.063609 | -0.96091 | 0.329706 | -0.59431 | -0.53177 | 0 | -0.46728
-1.02435 | 0.846112 | 1.036232 | 1.059173 | -0.94245 | 0.320909 | -0.67764 | -0.36908 | 0 | -0.494
-1.03033 | 0.954876 | 0.977815 | 1.063306 | -0.9596 | 0.314032 | -0.51596 | -0.50386 | 0 | -0.46925
-1.04398 | 1.056331 | 1.074673 | 1.061837 | -0.95304 | 0.258185 | -0.23708 | 0.23468 | 0 | -0.47894
-1.031 | 0.961449 | 1.027022 | 1.063637 | -0.9609 | 0.311576 | -0.49876 | -0.39399 | 0 | -0.46732
-0.97497 | 0.357792 | 0.087701 | 1.070731 | -0.98956 | 0.472297 | -1.02449 | -1.0965 | 0 | -0.42212
-1.04756 | 1.073559 | 1.043173 | 1.061186 | -0.9502 | 0.241905 | -0.15154 | 0.34898 | 0 | -0.48307
-1.05679 | 1.07681 | 1.039086 | 1.059014 | -0.94077 | 0.18691 | 0.119552 | 0.360971 | 0 | -0.49645
-1.01734 | 0.831752 | 1.02386 | 1.065754 | -0.96957 | 0.359633 | -0.69598 | -0.40213 | 0 | -0.45415
-1.04713 | 1.078215 | 1.047688 | 1.066096 | -0.97017 | 0.260797 | -0.10529 | 0.335182 | 0 | -0.45333
-1.05198 | 1.083882 | 1.025703 | 1.061965 | -0.95332 | 0.2249 | -0.01693 | 0.397407 | 0 | -0.47856
-1.02596 | 0.925226 | 1.045933 | 1.065273 | -0.96751 | 0.333279 | -0.567 | -0.34062 | 0 | -0.45733
-1.01738 | 0.754961 | 0.764582 | 1.059363 | -0.94357 | 0.34311 | -0.77844 | -0.79083 | 0 | -0.49239
-1.026 | 0.880817 | 1.071562 | 1.060535 | -0.94812 | 0.319549 | -0.6323 | -0.2485 | 0 | -0.48598
-1.01335 | 0.77389 | 1.003577 | 1.06526 | -0.96771 | 0.36881 | -0.75757 | -0.45037 | 0 | -0.457
-0.98242 | 0.433659 | 0.569449 | 1.069613 | -0.98514 | 0.453974 | -0.99373 | -0.94113 | 0 | -0.42942
-1.02423 | 0.917915 | 1.066776 | 1.066749 | -0.97334 | 0.341516 | -0.57518 | -0.2683 | 0 | -0.44834
-0.9663 | 0.118078 | 0.087961 | 1.064971 | -0.96756 | 0.479092 | -1.07905 | -1.09648 | 0 | -0.45711
-1.00035 | 0.580851 | 0.675543 | 1.064015 | -0.96311 | 0.400179 | -0.91459 | -0.86812 | 0 | -0.46394
-1.01706 | 0.787739 | 0.947968 | 1.062405 | -0.95617 | 0.351743 | -0.74478 | -0.55799 | 0 | -0.4743
-1.00806 | 0.695444 | 0.833356 | 1.064492 | -0.96483 | 0.381563 | -0.83111 | -0.71799 | 0 | -0.46135
-1.04959 | 1.080841 | 1.092164 | 1.063635 | -0.96034 | 0.241436 | -0.06736 | 0.131035 | 0 | -0.46821
-0.97382 | 0.156414 | 0.128206 | 1.061891 | -0.95503 | 0.457165 | -1.07301 | -1.0925 | 0 | -0.47586
-1.00567 | 0.65295 | 0.509063 | 1.063648 | -0.96162 | 0.386461 | -0.86648 | -0.97511 | 0 | -0.46617
-0.99521 | 0.563448 | 0.663256 | 1.067027 | -0.97506 | 0.419997 | -0.92735 | -0.87755 | 0 | -0.44556
-0.98974 | 0.480427 | 0.395522 | 1.066798 | -0.97437 | 0.4316 | -0.97101 | -1.02643 | 0 | -0.44662
-1.02468 | 0.930547 | 1.035878 | 1.067483 | -0.97622 | 0.342608 | -0.55642 | -0.37008 | 0 | -0.44382
-0.99637 | 0.510868 | 0.66972 | 1.063351 | -0.96049 | 0.408215 | -0.95461 | -0.87262 | 0 | -0.46785
-1.00529 | 0.672915 | 0.658608 | 1.065372 | -0.96846 | 0.391231 | -0.8505 | -0.88104 | 0 | -0.45582
-1.00253 | 0.651779 | 0.649238 | 1.066553 | -0.97315 | 0.400434 | -0.86535 | -0.88797 | 0 | -0.44855
-1.05221 | 1.083953 | 1.096804 | 1.058915 | -0.94058 | 0.211743 | -0.03651 | 0.083758 | 0 | -0.49669
-0.97894 | 0.362284 | 0.087117 | 1.068247 | -0.98018 | 0.459123 | -1.02288 | -1.09654 | 0 | -0.4374
-0.99084 | 0.552465 | 0.701735 | 1.069911 | -0.98611 | 0.435875 | -0.93284 | -0.84709 | 0 | -0.42786
-1.03072 | 0.935029 | 1.031868 | 1.060346 | -0.9473 | 0.303642 | -0.54958 | -0.38111 | 0 | -0.48715
-1.0508 | 1.084322 | 1.009421 | 1.063044 | -0.95777 | 0.235376 | -0.04249 | 0.437112 | 0 | -0.47205
-0.99713 | 0.47186 | 0.755616 | 1.060413 | -0.94831 | 0.400147 | -0.97554 | -0.7994 | 0 | -0.48563
-1.02781 | 0.889661 | 1.083183 | 1.059194 | -0.9424 | 0.30943 | -0.61861 | -0.1916 | 0 | -0.49408
-1.04728 | 1.076832 | 1.099571 | 1.064548 | -0.96414 | 0.254934 | -0.11968 | -0.03071 | 0 | -0.46251
-1.04294 | 1.061219 | 1.097484 | 1.065019 | -0.96606 | 0.274298 | -0.22344 | 0.074339 | 0 | -0.45959
-0.97878 | 0.372246 | 0.322467 | 1.068878 | -0.98249 | 0.460727 | -1.0194 | -1.05167 | 0 | -0.43369
-1.03793 | 1.028187 | 1.080174 | 1.064659 | -0.96482 | 0.291191 | -0.34258 | -0.20789 | 0 | -0.46145
-0.96954 | 0.252504 | 0.309646 | 1.069307 | -0.98422 | 0.480403 | -1.05476 | -1.05552 | 0 | -0.43088
-1.03841 | 1.035802 | 1.054359 | 1.065676 | -0.96867 | 0.292482 | -0.31863 | 0.313564 | 0 | -0.45561
-1.05075 | 1.08165 | 1.099147 | 1.059062 | -0.94126 | 0.219523 | -0.0805 | 0.043292 | 0 | -0.49573
-1.04125 | 1.041995 | 1.097967 | 1.062588 | -0.95631 | 0.271637 | -0.2943 | -0.06681 | 0 | -0.47415
-0.9732 | 0.252969 | 0.187983 | 1.066942 | -0.97519 | 0.468265 | -1.05422 | -1.08382 | 0 | -0.4453
-0.95451 | -0.02773 | 0.101386 | 1.065822 | -0.97105 | 0.503288 | -1.08399 | -1.09532 | 0 | -0.45173
-1.01787 | 0.863814 | 0.904611 | 1.068009 | -0.97844 | 0.363905 | -0.65595 | -0.62584 | 0 | -0.44027
-1.04756 | 1.072079 | 1.08012 | 1.06046 | -0.94721 | 0.238953 | -0.15886 | 0.208164 | 0 | -0.48733
-0.99534 | 0.608145 | 0.58075 | 1.069589 | -0.9849 | 0.425081 | -0.89826 | -0.9342 | 0 | -0.42984
-1.04666 | 1.065637 | 1.079424 | 1.059428 | -0.94286 | 0.238574 | -0.19414 | 0.211759 | 0 | -0.49348
-1.00184 | 0.638502 | 0.717366 | 1.066168 | -0.97161 | 0.401797 | -0.87671 | -0.8339 | 0 | -0.45096
-1.01402 | 0.773887 | 0.667145 | 1.064462 | -0.96472 | 0.365305 | -0.75831 | -0.87459 | 0 | -0.46152
-1.00698 | 0.699489 | 0.758551 | 1.065826 | -0.97019 | 0.387283 | -0.8269 | -0.79662 | 0 | -0.45316
-1.0486 | 1.079162 | 1.099735 | 1.062045 | -0.95387 | 0.241361 | -0.11399 | 0.024001 | 0 | -0.47774
-1.00728 | 0.670582 | 0.68516 | 1.063585 | -0.96128 | 0.381253 | -0.85053 | -0.86055 | 0 | -0.46669
-1.01899 | 0.859761 | 1.018148 | 1.066524 | -0.97258 | 0.356849 | -0.66092 | -0.41638 | 0 | -0.4495
-1.04025 | 1.020603 | 1.094036 | 1.059058 | -0.94146 | 0.263969 | -0.36325 | 0.114388 | 0 | -0.49543
-1.00269 | 0.571226 | 0.77503 | 1.06132 | -0.952 | 0.388342 | -0.92147 | -0.78059 | 0 | -0.48033
-1.02035 | 0.86055 | 0.878196 | 1.064987 | -0.96659 | 0.349464 | -0.6614 | -0.6624 | 0 | -0.45871
-1.03261 | 0.97891 | 1.075406 | 1.06379 | -0.96142 | 0.307105 | -0.46563 | -0.2313 | 0 | -0.46655
-0.98494 | 0.397505 | 0.161447 | 1.065797 | -0.97059 | 0.440979 | -1.00937 | -1.08809 | 0 | -0.45249
-1.02856 | 0.930666 | 1.087211 | 1.062863 | -0.9577 | 0.317651 | -0.55548 | -0.16723 | 0 | -0.47208
-0.99282 | 0.537037 | 0.550434 | 1.067404 | -0.97661 | 0.426356 | -0.94266 | -0.95237 | 0 | -0.44312
-0.99212 | 0.483661 | 0.78314 | 1.065227 | -0.968 | 0.422573 | -0.96905 | -0.77246 | 0 | -0.4565

Pii=

-300
--
-259.653
-284.371
-291.339
-342.448
-356.503
-351.015
-240.59
-261.094
-280.751
-344.174
-295.524
-260.699
-245.051
-336.151
-274.924
-354.617
-343.228
-319.478
-337.887
-350.903
-351.182
-278.629
-347.588
-344.723
-303.879
-293.025
-355.159
-342.349
-254.459
-339.309
-322.687
-304.205
-248.462
-262.61
-269.92
-325.85
-254.533
-320.19
-273.666
-247.698
-318.863
-258.836
-325.682
-307.146
-296.885
-299.459
-269.099
-334.433
-337.642
-318.183
-317.217
-303.211
-301.612
-310.669
-306.477
-262.215
-301.816
-245.515
-302.73
-272.899
-292.65
-319.599
-271.1
-276.5
-244.451
-246.036
-315.588
-287.218
-309.174
-347.863
-341.208
-245.818
-287.273
-285.311
-267.425
-312.678
-353.164
-247.529
-281.245
-290.804
-340.633
-270.001
-295.666
-273.843
-305.077
-294.25
-242.287
-287.202
-251.75
-278.547
-312.864
-328.257
-326.097
-262.362
-293.542
-250.171
-328.442
-286.55
-352.962

Edit(odow): formatting.

@odow
Copy link
Member

odow commented Nov 28, 2018

Take a read of: https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757

Is it possible to make a simpler example that demonstrates the issue?

You can also post code and data as a gist rather than copy-pasting into the github issue to make things easier to read.

x-ref: https://discourse.julialang.org/t/submit-a-bug-report-when-using-scs-solver/18080

@kalmarek
Copy link
Collaborator

did you check if Your SCS installation passes its test suite?

@Ryanlaker
Copy link
Author

did you check if Your SCS installation passes its test suite?

Hi. Thank you so much. It works when using it last week. I think its installation is ok. I will reinstall it again to check .

@Ryanlaker
Copy link
Author

@odow . Hi, terribly sorry for my careless editting. A simple example from scs introduction seems to be always ok. In my code, running block didnt show any error reminder, I will check my code again. Thank you so much !

@kalmarek
Copy link
Collaborator

Hi. Thank you so much. It works when using it last week. I think its installation is ok. I will reinstall it again to check .

please run pkg"test SCS"

@Ryanlaker
Copy link
Author

ops! I reinstall Julia and update all packages, then my code works without bug information any more. I appreciate all your helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants