Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cool
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hans-Peter Deifel
cool
Commits
bd573393
Commit
bd573393
authored
11 years ago
by
Thorsten Wißmann
Browse files
Options
Downloads
Patches
Plain Diff
Glue GMLMIP tool into coalg
parent
d4135ed7
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
GMLMIP-0.1/onestep.cpp
+1
-0
1 addition, 0 deletions
GMLMIP-0.1/onestep.cpp
Makefile
+34
-2
34 additions, 2 deletions
Makefile
with
35 additions
and
2 deletions
GMLMIP-0.1/onestep.cpp
+
1
−
0
View file @
bd573393
...
...
@@ -13,6 +13,7 @@
using
namespace
std
;
vector
<
SatisfyingAssignment
>
sat_ass_stack
;
/* Error handler for running out of BDD nodes */
void
error_handler
(
int
errorcode
){
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
34
−
2
View file @
bd573393
...
...
@@ -22,11 +22,29 @@ CHECKDEP := 1
# The projects which will be compiled if "make all" is used.
PROGS
:=
coalg coalgcompare
GMLFOBJS
=
\
GMLMIP-0.1/formulas/formula.o
\
GMLMIP-0.1/formulas/GML_formula.o
\
GMLMIP-0.1/formulas/PML_formula.o
\
GMLMIP-0.1/formulas/rational.o
\
GMLMIP-0.1/formulas/satisfyingassignment.o
GMLROBJS
=
\
GMLMIP-0.1/rules/premise.o
\
GMLMIP-0.1/rules/GML_premise.o
\
GMLMIP-0.1/rules/PML_premise.o
\
GMLMIP-0.1/rules/valuation.o
\
GMLMIP-0.1/rules/setofconclusions.o
\
GMLMIP-0.1/rules/sizefunctions.o
\
GMLMIP-0.1/rules/radixtree.o
GMLOBJS
=
$(
GMLROBJS
)
$(
GMLFOBJS
)
GMLMIP-0.1/onestep.o
LIBS
:=
unix str graph
SOURCESMLI
:=
$(
wildcard
*
.mli
)
SOURCESML
:=
$(
wildcard
*
.ml
)
INCS
?=
-I
/usr/include
-I
/usr/lib/ocaml
-I
/usr/local/lib/ocaml
-I
.
CXXFLAGS
+=
-Wall
-Werror
$(
INCS
)
CXXFLAGS
+=
-Wall
$(
INCS
)
LDXX
?=
g++
OCAMLC
:=
ocamlc.opt
...
...
@@ -57,6 +75,11 @@ LIBSML := $(patsubst %.ml,%$(SUFFIX),$(SOURCESML))
.PHONY
:
all
all
:
$(PROGS) gmlmip
.PHONY
:
phony
# don't do anything here
phony
:
@
:
.PHONY
:
gmlmip
gmlmip
:
make
-C
GMLMIP-0.1
...
...
@@ -67,8 +90,17 @@ minisat.cma: minisat.cmo minisat_stub.o
minisat.cmxa
:
minisat.cmx minisat_stub.o
$(
OCAMLOPT
)
-a
-o
minisat.cmxa minisat.cmx minisat_stub.o
-cclib
-lminisat
GMLMIP-0.1/onestep.o
:
phony
make
-C
GMLMIP-0.1 onestep.o
gmlmip.cma
:
gmlmip.cmo gmlmip_stub.o $(GMLOBJS)
$(
OCAMLC
)
-a
-o
$@
$^
-custom
-cclib
-lbdd
-cclib
-lm
-cclib
-lglpk
gmlmip.cmxa
:
gmlmip.cmx gmlmip_stub.o $(GMLOBJS)
$(
OCAMLOPT
)
-a
-o
$@
$^
-cclib
-lbdd
-cclib
-lm
-cclib
-lglpk
# Object files... sorted topologically by their dependency...
COALG_OBJS
:=
minisat
$(
SUFFIXLIB
)
\
COALG_OBJS
:=
minisat
$(
SUFFIXLIB
)
gmlmip
$(
SUFFIXLIB
)
\
genAndComp
$(
SUFFIX
)
MiscSolver
$(
SUFFIX
)
altGenlex
$(
SUFFIX
)
HashConsing
$(
SUFFIX
)
\
ALCFormula
$(
SUFFIX
)
ALCMisc
$(
SUFFIX
)
ALCGraph
$(
SUFFIX
)
\
CoAlgFormula
$(
SUFFIX
)
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment