You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
785 B
25 lines
785 B
# MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization
|
|
# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved.
|
|
# Released under the modified BSD license. See COPYING.md for more details.
|
|
|
|
JULIA := julia --color=yes --project=@.
|
|
VERSION := 0.2
|
|
|
|
build/sysimage.so: src/utils/sysimage.jl Project.toml
|
|
julia --project=. -e "using Pkg; Pkg.instantiate()"
|
|
$(JULIA) src/utils/sysimage.jl test/runtests.jl
|
|
|
|
clean:
|
|
rm -rfv build/*
|
|
|
|
test: build/sysimage.so
|
|
$(JULIA) --sysimage build/sysimage.so test/runtests.jl
|
|
|
|
format:
|
|
julia -e 'using JuliaFormatter; format(["src", "test", "benchmark"], verbose=true);'
|
|
|
|
install-deps:
|
|
julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter", version="0.14.4"))'
|
|
|
|
.PHONY: docs test format install-deps
|