Created
June 6, 2020 16:36
-
-
Save ericphanson/a50888d0749d3c51db112148284ff5d1 to your computer and use it in GitHub Desktop.
EAGO / Gurobi / MOI error ?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is machine-generated - editing it directly is not advised | |
[[ASL_jll]] | |
deps = ["Libdl", "Pkg"] | |
git-tree-sha1 = "7fa8d4626ddb4a142e82a8ce07279c1315803433" | |
uuid = "ae81ac8f-d209-56e5-92de-9978fef736f9" | |
version = "0.1.1+3" | |
[[Base64]] | |
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" | |
[[BenchmarkTools]] | |
deps = ["JSON", "Logging", "Printf", "Statistics", "UUIDs"] | |
git-tree-sha1 = "9e62e66db34540a0c919d72172cc2f642ac71260" | |
uuid = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" | |
version = "0.5.0" | |
[[BinaryProvider]] | |
deps = ["Libdl", "Logging", "SHA"] | |
git-tree-sha1 = "ecdec412a9abc8db54c0efc5548c64dfce072058" | |
uuid = "b99e7846-7c00-51b0-8f62-c81ae34c0232" | |
version = "0.5.10" | |
[[Bzip2_jll]] | |
deps = ["Libdl", "Pkg"] | |
git-tree-sha1 = "3663bfffede2ef41358b6fc2e1d8a6d50b3c3904" | |
uuid = "6e34b625-4abd-537c-b88f-471c36dfa7a0" | |
version = "1.0.6+2" | |
[[CRlibm]] | |
deps = ["Libdl"] | |
git-tree-sha1 = "9d1c22cff9c04207f336b8e64840d0bd40d86e0e" | |
uuid = "96374032-68de-5a5b-8d9e-752f78720389" | |
version = "0.8.0" | |
[[Calculus]] | |
deps = ["LinearAlgebra"] | |
git-tree-sha1 = "f641eb0a4f00c343bbc32346e1217b86f3ce9dad" | |
uuid = "49dc2e85-a5d0-5ad3-a950-438e2897f1b9" | |
version = "0.5.1" | |
[[Cassette]] | |
git-tree-sha1 = "ff6f5109371926beb67ec3101be17d2c211e497d" | |
uuid = "7057c7e9-c182-5462-911a-8362d720325c" | |
version = "0.3.3" | |
[[CodecBzip2]] | |
deps = ["Bzip2_jll", "Libdl", "TranscodingStreams"] | |
git-tree-sha1 = "2e62a725210ce3c3c2e1a3080190e7ca491f18d7" | |
uuid = "523fee87-0ab8-5b00-afb7-3ecf72e48cfd" | |
version = "0.7.2" | |
[[CodecZlib]] | |
deps = ["TranscodingStreams", "Zlib_jll"] | |
git-tree-sha1 = "ded953804d019afa9a3f98981d99b33e3db7b6da" | |
uuid = "944b1d66-785c-5afd-91f1-9de20f533193" | |
version = "0.7.0" | |
[[CommonSubexpressions]] | |
deps = ["Test"] | |
git-tree-sha1 = "efdaf19ab11c7889334ca247ff4c9f7c322817b0" | |
uuid = "bbf7d656-a473-5ed7-a52c-81e309532950" | |
version = "0.2.0" | |
[[CompilerSupportLibraries_jll]] | |
deps = ["Libdl", "Pkg"] | |
git-tree-sha1 = "7c4f882c41faa72118841185afc58a2eb00ef612" | |
uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae" | |
version = "0.3.3+0" | |
[[DataStructures]] | |
deps = ["InteractiveUtils", "OrderedCollections"] | |
git-tree-sha1 = "af6d9c86e191c917c2276fbede1137e8ea20157f" | |
uuid = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" | |
version = "0.17.17" | |
[[Dates]] | |
deps = ["Printf"] | |
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a" | |
[[DiffResults]] | |
deps = ["StaticArrays"] | |
git-tree-sha1 = "da24935df8e0c6cf28de340b958f6aac88eaa0cc" | |
uuid = "163ba53b-c6d8-5494-b064-1a9d43ac40c5" | |
version = "1.0.2" | |
[[DiffRules]] | |
deps = ["NaNMath", "Random", "SpecialFunctions"] | |
git-tree-sha1 = "eb0c34204c8410888844ada5359ac8b96292cfd1" | |
uuid = "b552c78f-8df3-52c6-915a-8e097449b14b" | |
version = "1.0.1" | |
[[Distributed]] | |
deps = ["Random", "Serialization", "Sockets"] | |
uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b" | |
[[DocStringExtensions]] | |
deps = ["LibGit2", "Markdown", "Pkg", "Test"] | |
git-tree-sha1 = "88bb0edb352b16608036faadcc071adda068582a" | |
uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" | |
version = "0.8.1" | |
[[EAGO]] | |
deps = ["Cassette", "DataStructures", "DocStringExtensions", "ForwardDiff", "GLPK", "IntervalArithmetic", "Ipopt", "JuMP", "LinearAlgebra", "MathOptInterface", "McCormick", "NumericIO", "Reexport", "ReverseMcCormick", "SparseArrays"] | |
git-tree-sha1 = "f9d53d91c03cc4e5860a91a700a197027b8a6bae" | |
repo-rev = "master" | |
repo-url = "https://github.com/PSORLab/EAGO.jl.git" | |
uuid = "bb8be931-2a91-5aca-9f87-79e1cb69959a" | |
version = "0.4.0" | |
[[ErrorfreeArithmetic]] | |
git-tree-sha1 = "a5198ab6c8a724dd3965b31ddd11ccde65300f5b" | |
uuid = "90fa49ef-747e-5e6f-a989-263ba693cf1a" | |
version = "0.5.0" | |
[[FastRounding]] | |
deps = ["ErrorfreeArithmetic", "Test"] | |
git-tree-sha1 = "224175e213fd4fe112db3eea05d66b308dc2bf6b" | |
uuid = "fa42c844-2597-5d31-933b-ebd51ab2693f" | |
version = "0.2.0" | |
[[ForwardDiff]] | |
deps = ["CommonSubexpressions", "DiffResults", "DiffRules", "NaNMath", "Random", "SpecialFunctions", "StaticArrays"] | |
git-tree-sha1 = "869540e4367122fbffaace383a5bdc34d6e5e5ac" | |
uuid = "f6369f11-7733-5829-9624-2563aa707210" | |
version = "0.10.10" | |
[[GLPK]] | |
deps = ["BinaryProvider", "Libdl", "MathOptInterface", "SparseArrays"] | |
git-tree-sha1 = "3420033e843e140d9237238d69937a5bc7292e5a" | |
uuid = "60bf3e95-4087-53dc-ae20-288a0d20c6a6" | |
version = "0.12.1" | |
[[Gurobi]] | |
deps = ["Libdl", "LinearAlgebra", "MathOptInterface", "MathProgBase", "SparseArrays"] | |
git-tree-sha1 = "f36a2fa62909675681aec582ccfc4a4a629406e4" | |
uuid = "2e9cd046-0924-5485-92f1-d5272153d98b" | |
version = "0.8.1" | |
[[HTTP]] | |
deps = ["Base64", "Dates", "IniFile", "MbedTLS", "Sockets"] | |
git-tree-sha1 = "ec87d5e2acbe1693789efbbe14f5ea7525758f71" | |
uuid = "cd3eb016-35fb-5094-929b-558a96fad6f3" | |
version = "0.8.15" | |
[[IniFile]] | |
deps = ["Test"] | |
git-tree-sha1 = "098e4d2c533924c921f9f9847274f2ad89e018b8" | |
uuid = "83e8ac13-25f8-5344-8a64-a9f2b223428f" | |
version = "0.5.0" | |
[[InteractiveUtils]] | |
deps = ["Markdown"] | |
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240" | |
[[IntervalArithmetic]] | |
deps = ["CRlibm", "FastRounding", "LinearAlgebra", "Markdown", "Random", "RecipesBase", "SetRounding", "StaticArrays"] | |
git-tree-sha1 = "b2db6ee367b4eb3ee8b009ede8ca809e4fd23d35" | |
uuid = "d1acc4aa-44c8-5952-acd4-ba5d80a2a253" | |
version = "0.16.7" | |
[[IntervalContractors]] | |
deps = ["IntervalArithmetic"] | |
git-tree-sha1 = "ae835d1ac036b983d206a18f3380be871f6b16ec" | |
uuid = "15111844-de3b-5229-b4ba-526f2f385dc9" | |
version = "0.4.2" | |
[[Ipopt]] | |
deps = ["BinaryProvider", "Ipopt_jll", "Libdl", "LinearAlgebra", "MathOptInterface", "MathProgBase"] | |
git-tree-sha1 = "9454c1fe7f11e77c7dae737ef5e258e3100356de" | |
uuid = "b6b21f68-93f8-5de0-b562-5493be1d77c9" | |
version = "0.6.2" | |
[[Ipopt_jll]] | |
deps = ["ASL_jll", "CompilerSupportLibraries_jll", "Libdl", "MUMPS_seq_jll", "OpenBLAS32_jll", "Pkg"] | |
git-tree-sha1 = "320e342c7e9b01f4cfc86fb89cb5832fcb868567" | |
uuid = "9cc047cb-c261-5740-88fc-0cf96f7bdcc7" | |
version = "3.13.2+0" | |
[[JSON]] | |
deps = ["Dates", "Mmap", "Parsers", "Unicode"] | |
git-tree-sha1 = "b34d7cef7b337321e97d22242c3c2b91f476748e" | |
uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6" | |
version = "0.21.0" | |
[[JSONSchema]] | |
deps = ["HTTP", "JSON", "ZipFile"] | |
git-tree-sha1 = "832a4d327d9dafdae55a6ecae04f9997c83615cc" | |
uuid = "7d188eb4-7ad8-530c-ae41-71a32a6d4692" | |
version = "0.3.0" | |
[[JuMP]] | |
deps = ["Calculus", "DataStructures", "ForwardDiff", "LinearAlgebra", "MathOptInterface", "NaNMath", "Random", "SparseArrays", "Statistics"] | |
git-tree-sha1 = "ba7f96010ed290d77d5c941c32e5df107ca688a4" | |
uuid = "4076af6c-e467-56ae-b986-b466b2749572" | |
version = "0.20.1" | |
[[LibGit2]] | |
deps = ["Printf"] | |
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433" | |
[[Libdl]] | |
uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb" | |
[[LinearAlgebra]] | |
deps = ["Libdl"] | |
uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | |
[[Logging]] | |
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568" | |
[[METIS_jll]] | |
deps = ["Libdl", "Pkg"] | |
git-tree-sha1 = "58ddd4e4cdd24ead2949d2bd4114208d70c49da5" | |
uuid = "d00139f3-1899-568f-a2f0-47f597d42d70" | |
version = "5.1.0+3" | |
[[MUMPS_seq_jll]] | |
deps = ["CompilerSupportLibraries_jll", "Libdl", "METIS_jll", "OpenBLAS32_jll", "Pkg"] | |
git-tree-sha1 = "e6d76a627993e72f78c3e38b6ca9e6c36d8d0ac5" | |
uuid = "d7ed1dd3-d0ae-5e8e-bfb4-87a502085b8d" | |
version = "5.2.1+3" | |
[[Markdown]] | |
deps = ["Base64"] | |
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a" | |
[[MathOptInterface]] | |
deps = ["BenchmarkTools", "CodecBzip2", "CodecZlib", "JSON", "JSONSchema", "LinearAlgebra", "MutableArithmetics", "OrderedCollections", "SparseArrays", "Test", "Unicode"] | |
git-tree-sha1 = "cd2049c055c7d192a235670d50faa375361624ba" | |
uuid = "b8f27783-ece8-5eb3-8dc8-9495eed66fee" | |
version = "0.9.14" | |
[[MathProgBase]] | |
deps = ["LinearAlgebra", "SparseArrays"] | |
git-tree-sha1 = "9abbe463a1e9fc507f12a69e7f29346c2cdc472c" | |
uuid = "fdba3010-5040-5b88-9595-932c9decdf73" | |
version = "0.7.8" | |
[[MbedTLS]] | |
deps = ["Dates", "MbedTLS_jll", "Random", "Sockets"] | |
git-tree-sha1 = "426a6978b03a97ceb7ead77775a1da066343ec6e" | |
uuid = "739be429-bea8-5141-9913-cc70e7f3736d" | |
version = "1.0.2" | |
[[MbedTLS_jll]] | |
deps = ["Libdl", "Pkg"] | |
git-tree-sha1 = "c83f5a1d038f034ad0549f9ee4d5fac3fb429e33" | |
uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1" | |
version = "2.16.0+2" | |
[[McCormick]] | |
deps = ["DiffRules", "DocStringExtensions", "ForwardDiff", "IntervalArithmetic", "LinearAlgebra", "Reexport", "StaticArrays"] | |
git-tree-sha1 = "eb619bdc3fcbae8bbc17ebe53ab20e54d31d6430" | |
uuid = "53c679d3-6890-5091-8386-c291e8c8aaa1" | |
version = "0.5.2" | |
[[Mmap]] | |
uuid = "a63ad114-7e13-5084-954f-fe012c677804" | |
[[MutableArithmetics]] | |
deps = ["LinearAlgebra", "SparseArrays", "Test"] | |
git-tree-sha1 = "e1edd618a8f39d16f8595dd622a63b25f759cf8a" | |
uuid = "d8a4904e-b15c-11e9-3269-09a3773c0cb0" | |
version = "0.2.9" | |
[[NaNMath]] | |
git-tree-sha1 = "928b8ca9b2791081dc71a51c55347c27c618760f" | |
uuid = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3" | |
version = "0.3.3" | |
[[NumericIO]] | |
deps = ["Printf", "Test"] | |
git-tree-sha1 = "0cb5fb8157780c06a36b1c7ccaab4fcebed83259" | |
uuid = "6c575b1c-77cb-5640-a5dc-a54116c90507" | |
version = "0.3.1" | |
[[OpenBLAS32_jll]] | |
deps = ["CompilerSupportLibraries_jll", "Libdl", "Pkg"] | |
git-tree-sha1 = "793b33911239d2651c356c823492b58d6490d36a" | |
uuid = "656ef2d0-ae68-5445-9ca0-591084a874a2" | |
version = "0.3.9+4" | |
[[OpenSpecFun_jll]] | |
deps = ["CompilerSupportLibraries_jll", "Libdl", "Pkg"] | |
git-tree-sha1 = "d51c416559217d974a1113522d5919235ae67a87" | |
uuid = "efe28fd5-8261-553b-a9e1-b2916fc3738e" | |
version = "0.5.3+3" | |
[[OrderedCollections]] | |
git-tree-sha1 = "12ce190210d278e12644bcadf5b21cbdcf225cd3" | |
uuid = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" | |
version = "1.2.0" | |
[[Parsers]] | |
deps = ["Dates", "Test"] | |
git-tree-sha1 = "eb3e09940c0d7ae01b01d9291ebad7b081c844d3" | |
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0" | |
version = "1.0.5" | |
[[Pkg]] | |
deps = ["Dates", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "UUIDs"] | |
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" | |
[[Printf]] | |
deps = ["Unicode"] | |
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7" | |
[[REPL]] | |
deps = ["InteractiveUtils", "Markdown", "Sockets"] | |
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" | |
[[Random]] | |
deps = ["Serialization"] | |
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | |
[[RecipesBase]] | |
git-tree-sha1 = "b4ed4a7f988ea2340017916f7c9e5d7560b52cae" | |
uuid = "3cdcf5f2-1ef4-517c-9805-6587b60abb01" | |
version = "0.8.0" | |
[[Reexport]] | |
deps = ["Pkg"] | |
git-tree-sha1 = "7b1d07f411bc8ddb7977ec7f377b97b158514fe0" | |
uuid = "189a3867-3050-52da-a836-e630ba90ab69" | |
version = "0.2.0" | |
[[ReverseMcCormick]] | |
deps = ["DocStringExtensions", "IntervalContractors", "McCormick"] | |
git-tree-sha1 = "99b67db8eea60069ca1a518907d7548475a9c8b7" | |
uuid = "f9d89e60-3bef-4186-aa8f-bdf0d7614dd6" | |
version = "0.5.3" | |
[[SHA]] | |
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce" | |
[[Serialization]] | |
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b" | |
[[SetRounding]] | |
deps = ["Test"] | |
git-tree-sha1 = "faca28c7937138d560ede5bfef2076d0cdf3584b" | |
uuid = "3cc68bcd-71a2-5612-b932-767ffbe40ab0" | |
version = "0.2.0" | |
[[Sockets]] | |
uuid = "6462fe0b-24de-5631-8697-dd941f90decc" | |
[[SparseArrays]] | |
deps = ["LinearAlgebra", "Random"] | |
uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" | |
[[SpecialFunctions]] | |
deps = ["OpenSpecFun_jll"] | |
git-tree-sha1 = "d8d8b8a9f4119829410ecd706da4cc8594a1e020" | |
uuid = "276daf66-3868-5448-9aa4-cd146d93841b" | |
version = "0.10.3" | |
[[StaticArrays]] | |
deps = ["LinearAlgebra", "Random", "Statistics"] | |
git-tree-sha1 = "5c06c0aeb81bef54aed4b3f446847905eb6cbda0" | |
uuid = "90137ffa-7385-5640-81b9-e52037218182" | |
version = "0.12.3" | |
[[Statistics]] | |
deps = ["LinearAlgebra", "SparseArrays"] | |
uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" | |
[[Test]] | |
deps = ["Distributed", "InteractiveUtils", "Logging", "Random"] | |
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | |
[[TranscodingStreams]] | |
deps = ["Random", "Test"] | |
git-tree-sha1 = "7c53c35547de1c5b9d46a4797cf6d8253807108c" | |
uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa" | |
version = "0.9.5" | |
[[UUIDs]] | |
deps = ["Random", "SHA"] | |
uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" | |
[[Unicode]] | |
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" | |
[[ZipFile]] | |
deps = ["Libdl", "Printf", "Zlib_jll"] | |
git-tree-sha1 = "254975fef2fc526583bb9b7c9420fe66ffe09f2f" | |
uuid = "a5390f91-8eb1-5f08-bee0-b1d1ffed6cea" | |
version = "0.9.2" | |
[[Zlib_jll]] | |
deps = ["Libdl", "Pkg"] | |
git-tree-sha1 = "a2e0d558f6031002e380a90613b199e37a8565bf" | |
uuid = "83775a58-1f1d-513f-b197-d71354ab007a" | |
version = "1.2.11+10" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using JuMP, GLPK, Gurobi, EAGO | |
function make_problem_1() | |
m = Model() | |
@variable(m, 0 <= v[i=1:2] <= 1) | |
@variable(m, 0 <= D[i=1:2,j=1:2] <= 1) | |
@NLexpression(m, R, sum(D[i,j] for j = 1:2, i = 1:2)) | |
@NLobjective(m, Min, sum(v[l] * R * v[k] for l = 1:2, k = 1:2)) | |
return m | |
end | |
function make_problem_2() | |
m = Model() | |
@variable(m, 0 <= v[i=1:2] <= 1) | |
@variable(m, 0 <= D[i=1:2,j=1:2] <= 1) | |
@NLexpression(m, R, sum(D[i,j] for j = 1:2, i = 1:2)) | |
# Difference from problem 1: we use an `@NLexpression` for the objective | |
@NLexpression(m, term, sum(v[l] * R * v[k] for l = 1:2, k = 1:2)) | |
@NLobjective(m, Min, term) | |
return m | |
end | |
@info "Problem 1, GLPK" | |
m = make_problem_1() | |
JuMP.optimize!(m, with_optimizer(EAGO.Optimizer; verbosity=0,relaxed_optimizer = GLPK.Optimizer())) | |
@show JuMP.objective_value(m) | |
@info "Problem 2, GLPK" | |
m = make_problem_2() | |
JuMP.optimize!(m, with_optimizer(EAGO.Optimizer; verbosity=0,relaxed_optimizer = GLPK.Optimizer())) | |
@show JuMP.objective_value(m) | |
@info "Problem 1, Gurobi" | |
m = make_problem_1() | |
JuMP.optimize!(m, with_optimizer(EAGO.Optimizer; verbosity=0,relaxed_optimizer = Gurobi.Optimizer())) | |
@show JuMP.objective_value(m) | |
@info "Problem 2, Gurobi" | |
m = make_problem_2() | |
JuMP.optimize!(m, with_optimizer(EAGO.Optimizer; verbosity=0, relaxed_optimizer = Gurobi.Optimizer())) | |
@show JuMP.objective_value(m) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_ | |
_ _ _(_)_ | Documentation: https://docs.julialang.org | |
(_) | (_) (_) | | |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help. | |
| | | | | | |/ _` | | | |
| | |_| | | | (_| | | Version 1.4.1 (2020-04-14) | |
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release | |
|__/ | | |
julia> include("mwe.jl") | |
[ Info: Precompiling JuMP [4076af6c-e467-56ae-b986-b466b2749572] | |
[ Info: Precompiling GLPK [60bf3e95-4087-53dc-ae20-288a0d20c6a6] | |
[ Info: Precompiling Gurobi [2e9cd046-0924-5485-92f1-d5272153d98b] | |
[ Info: Precompiling EAGO [bb8be931-2a91-5aca-9f87-79e1cb69959a] | |
[ Info: Problem 1, GLPK | |
****************************************************************************** | |
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 | |
****************************************************************************** | |
JuMP.objective_value(m) = 2.504796512377432e-9 | |
[ Info: Problem 2, GLPK | |
JuMP.objective_value(m) = 2.504796512377432e-9 | |
[ Info: Problem 1, Gurobi | |
Academic license - for non-commercial use only | |
Gurobi Optimizer version 9.0.2 build v9.0.2rc0 (linux64) | |
Optimize a model with 0 rows, 6 columns and 0 nonzeros | |
Model fingerprint: 0x0a275e01 | |
Coefficient statistics: | |
Matrix range [0e+00, 0e+00] | |
Objective range [0e+00, 0e+00] | |
Bounds range [1e+00, 1e+00] | |
RHS range [0e+00, 0e+00] | |
Presolve removed 0 rows and 6 columns | |
Presolve time: 0.00s | |
Presolve: All rows and columns removed | |
Iteration Objective Primal Inf. Dual Inf. Time | |
0 0.0000000e+00 0.000000e+00 0.000000e+00 0s | |
Solved in 0 iterations and 0.00 seconds | |
Optimal objective 0.000000000e+00 | |
Gurobi Optimizer version 9.0.2 build v9.0.2rc0 (linux64) | |
Optimize a model with 0 rows, 6 columns and 0 nonzeros | |
Coefficient statistics: | |
Matrix range [0e+00, 0e+00] | |
Objective range [0e+00, 0e+00] | |
Bounds range [1e+00, 1e+00] | |
RHS range [0e+00, 0e+00] | |
Iteration Objective Primal Inf. Dual Inf. Time | |
0 0.0000000e+00 0.000000e+00 0.000000e+00 0s | |
Solved in 0 iterations and 0.00 seconds | |
Optimal objective 0.000000000e+00 | |
JuMP.objective_value(m) = 2.504796512377432e-9 | |
[ Info: Problem 2, Gurobi | |
Academic license - for non-commercial use only | |
ERROR: LoadError: Gurobi.GurobiError(10003, "Element 0 of a double array is Nan.") | |
Stacktrace: | |
[1] set_dblattrelement!(::Gurobi.Model, ::String, ::Int64, ::Float64) at /home/eric/.julia/packages/Gurobi/7YNJV/src/grb_attrs.jl:282 | |
[2] modify(::Gurobi.Optimizer, ::MathOptInterface.ObjectiveFunction{MathOptInterface.ScalarAffineFunction{Float64}}, ::MathOptInterface.ScalarCoefficientChange{Float64}) at /home/eric/.julia/packages/Gurobi/7YNJV/src/MOI_wrapper.jl:2442 | |
[3] relax_objective!(::EAGO.DefaultExt, ::Optimizer, ::Array{Float64,1}) at /home/eric/.julia/packages/EAGO/eMuwf/src/eago_optimizer/relax.jl:319 | |
[4] relax_objective!(::Optimizer, ::Array{Float64,1}) at /home/eric/.julia/packages/EAGO/eMuwf/src/eago_optimizer/relax.jl:518 | |
[5] lower_problem!(::EAGO.DefaultExt, ::Optimizer) at /home/eric/.julia/packages/EAGO/eMuwf/src/eago_optimizer/subroutines.jl:608 | |
[6] lower_problem!(::Optimizer) at /home/eric/.julia/packages/EAGO/eMuwf/src/eago_optimizer/optimize.jl:774 | |
[7] global_solve!(::Optimizer) at /home/eric/.julia/packages/EAGO/eMuwf/src/eago_optimizer/optimize.jl:810 | |
[8] optimize!(::Optimizer) at /home/eric/.julia/packages/EAGO/eMuwf/src/eago_optimizer/optimize.jl:894 | |
[9] optimize!(::MathOptInterface.Utilities.CachingOptimizer{Optimizer,MathOptInterface.Utilities.UniversalFallback{MathOptInterface.Utilities.Model{Float64}}}) at /home/eric/.julia/packages/MathOptInterface/bygN7/src/Utilities/cachingoptimizer.jl:189 | |
[10] optimize!(::MathOptInterface.Bridges.LazyBridgeOptimizer{MathOptInterface.Utilities.CachingOptimizer{Optimizer,MathOptInterface.Utilities.UniversalFallback{MathOptInterface.Utilities.Model{Float64}}}}) at /home/eric/.julia/packages/MathOptInterface/bygN7/src/Bridges/bridge_optimizer.jl:239 | |
[11] optimize!(::MathOptInterface.Utilities.CachingOptimizer{MathOptInterface.AbstractOptimizer,MathOptInterface.Utilities.UniversalFallback{MathOptInterface.Utilities.Model{Float64}}}) at /home/eric/.julia/packages/MathOptInterface/bygN7/src/Utilities/cachingoptimizer.jl:189 | |
[12] optimize!(::Model, ::OptimizerFactory; bridge_constraints::Bool, ignore_optimize_hook::Bool, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /home/eric/.julia/packages/JuMP/MsUSY/src/optimizer_interface.jl:141 | |
[13] optimize!(::Model, ::OptimizerFactory) at /home/eric/.julia/packages/JuMP/MsUSY/src/optimizer_interface.jl:111 | |
[14] top-level scope at /home/eric/Code/EAGO_MWE/mwe.jl:40 | |
[15] include(::String) at ./client.jl:439 | |
[16] top-level scope at REPL[1]:1 | |
[17] eval(::Module, ::Any) at ./boot.jl:331 | |
[18] eval_user_input(::Any, ::REPL.REPLBackend) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/REPL/src/REPL.jl:86 | |
[19] run_backend(::REPL.REPLBackend) at /home/eric/.julia/packages/Revise/XFtoQ/src/Revise.jl:1162 | |
[20] top-level scope at none:0 | |
in expression starting at /home/eric/Code/EAGO_MWE/mwe.jl:40 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[deps] | |
EAGO = "bb8be931-2a91-5aca-9f87-79e1cb69959a" | |
GLPK = "60bf3e95-4087-53dc-ae20-288a0d20c6a6" | |
Gurobi = "2e9cd046-0924-5485-92f1-d5272153d98b" | |
JuMP = "4076af6c-e467-56ae-b986-b466b2749572" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment