Skip to content

Instantly share code, notes, and snippets.

@rschwarz
Created February 23, 2019 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rschwarz/1cd7d8f56af07c74570bd82d12221f03 to your computer and use it in GitHub Desktop.
Save rschwarz/1cd7d8f56af07c74570bd82d12221f03 to your computer and use it in GitHub Desktop.
Non-deterministic behavior: Three consecutive runs on the exact same code.
# rs@t440p:~ [16:38:07]
$ julia --project=/home/rs/.julia/environments/scip ~/.julia/dev/SCIP/test/runtests.jl
linear expressions: Test Failed at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:49
Expression: MOI.get(optimizer, MOI.TerminationStatus()) == MOI.OPTIMAL
Evaluated: DUAL_INFEASIBLE::TerminationStatusCode = 3 == OPTIMAL::TerminationStatusCode = 1
Stacktrace:
[1] top-level scope at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:49
[2] top-level scope at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Test/src/Test.jl:1083
[3] top-level scope at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:20
linear expressions: Test Failed at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:53
Expression: ≈(MOI.get(optimizer, MOI.ObjectiveValue()), -0.75, atol=atol, rtol=rtol)
Evaluated: 0.0 ≈ -0.75 (atol=1.0e-6, rtol=1.0e-6)
Stacktrace:
[1] top-level scope at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:53
[2] top-level scope at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Test/src/Test.jl:1083
[3] top-level scope at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:20
linear expressions: Test Failed at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:54
Expression: ≈(MOI.get(optimizer, MOI.VariablePrimal(), x), 0.75, atol=atol, rtol=rtol)
Evaluated: 0.0 ≈ 0.75 (atol=1.0e-6, rtol=1.0e-6)
Stacktrace:
[1] top-level scope at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:54
[2] top-level scope at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Test/src/Test.jl:1083
[3] top-level scope at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:20
pot pourri: Test Failed at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:93
Expression: MOI.get(optimizer, MOI.TerminationStatus()) == MOI.OPTIMAL
Evaluated: INFEASIBLE::TerminationStatusCode = 2 == OPTIMAL::TerminationStatusCode = 1
Stacktrace:
[1] top-level scope at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:93
[2] top-level scope at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Test/src/Test.jl:1083
[3] top-level scope at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:59
pot pourri: Test Failed at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:94
Expression: MOI.get(optimizer, MOI.PrimalStatus()) == MOI.FEASIBLE_POINT
Evaluated: NO_SOLUTION::ResultStatusCode = 0 == FEASIBLE_POINT::ResultStatusCode = 1
Stacktrace:
[1] top-level scope at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:94
[2] top-level scope at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Test/src/Test.jl:1083
[3] top-level scope at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:59
pot pourri: Test Failed at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:106
Expression: ≈(values, references, atol=atol, rtol=rtol)
Evaluated: [0.6, 0.0, 3.9, 0.3, 0.001, 0.275946, 1.0, 0.316228, 1.10517, -2.30259] ≈ [2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0] (atol=1.0e-6, rtol=1.0e-6)
Stacktrace:
[1] top-level scope at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:106
[2] top-level scope at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Test/src/Test.jl:1083
[3] top-level scope at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:59
Test Summary: | Pass Fail Total
MathOptInterface nonlinear expressions | 4 6 10
linear expressions | 3 3 6
pot pourri | 1 3 4
ERROR: LoadError: Some tests did not pass: 4 passed, 6 failed, 0 errored, 0 broken.
in expression starting at /home/rs/.julia/dev/SCIP/test/runtests.jl:20
# rs@t440p:~ [16:38:32]
$ julia --project=/home/rs/.julia/environments/scip ~/.julia/dev/SCIP/test/runtests.jl
pot pourri: Test Failed at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:93
Expression: MOI.get(optimizer, MOI.TerminationStatus()) == MOI.OPTIMAL
Evaluated: INFEASIBLE::TerminationStatusCode = 2 == OPTIMAL::TerminationStatusCode = 1
Stacktrace:
[1] top-level scope at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:93
[2] top-level scope at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Test/src/Test.jl:1083
[3] top-level scope at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:59
pot pourri: Test Failed at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:94
Expression: MOI.get(optimizer, MOI.PrimalStatus()) == MOI.FEASIBLE_POINT
Evaluated: NO_SOLUTION::ResultStatusCode = 0 == FEASIBLE_POINT::ResultStatusCode = 1
Stacktrace:
[1] top-level scope at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:94
[2] top-level scope at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Test/src/Test.jl:1083
[3] top-level scope at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:59
pot pourri: Test Failed at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:106
Expression: ≈(values, references, atol=atol, rtol=rtol)
Evaluated: [0.6, 0.0, 3.9, 0.3, 0.001, 0.275946, 1.0, 0.316228, 1.10517, -2.30259] ≈ [2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0] (atol=1.0e-6, rtol=1.0e-6)
Stacktrace:
[1] top-level scope at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:106
[2] top-level scope at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Test/src/Test.jl:1083
[3] top-level scope at /home/rs/.julia/dev/SCIP/test/MOI_nonlinear_exprs.jl:59
Test Summary: | Pass Fail Total
MathOptInterface nonlinear expressions | 7 3 10
linear expressions | 6 6
pot pourri | 1 3 4
ERROR: LoadError: Some tests did not pass: 7 passed, 3 failed, 0 errored, 0 broken.
in expression starting at /home/rs/.julia/dev/SCIP/test/runtests.jl:20
# rs@t440p:~ [16:38:46]
$ julia --project=/home/rs/.julia/environments/scip ~/.julia/dev/SCIP/test/runtests.jl
******************************************************************************
This program contains Ipopt, a library for large-scale nonlinear optimization.
Ipopt is released as open source code under the Eclipse Public License (EPL).
For more information visit http://projects.coin-or.org/Ipopt
******************************************************************************
Test Summary: | Pass Total
MathOptInterface nonlinear expressions | 10 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment