Skip to content

Commit

Permalink
add make test
Browse files Browse the repository at this point in the history
  • Loading branch information
ambros-gleixner committed Nov 23, 2016
1 parent 9b061b0 commit f583173
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -6,7 +6,7 @@

> Kevin K.H. Cheung, Ambros Gleixner, and Daniel E. Steffy: [Verifying Integer Programming Results](http://nbn-resolving.de/urn:nbn:de:0297-zib-61044), ZIB-Report 16-58, November 2016, [`urn:nbn:de:0297-zib-61044`](http://nbn-resolving.de/urn:nbn:de:0297-zib-61044).
This repository contains a detailed technical [specification of the certificate file format `.vipr`](http://rawgit.com/ambros-gleixner/VIPR/master/cert_spec_v1_0.html), [code](code/) to compress, check, and display certificate files, and [supplementary information](experiments/) for the computational experiments conducted for the article above.
This repository contains a detailed technical [specification of the certificate file format](http://rawgit.com/ambros-gleixner/VIPR/master/cert_spec_v1_0.html), [software](code/) to check, display, and compress certificate files, and [supplementary information](experiments/) on the computational experiments conducted for the article above.


## Software
Expand Down
6 changes: 5 additions & 1 deletion code/makefile
Expand Up @@ -4,7 +4,11 @@ CFLAGS = -O1 -g -Wall -std=c++11 -Wshadow -W -Wmissing-declarations -Wpointer-ar
all: viprchk vipr2html viprttn

clean:
rm *.o
rm *.o viprchk vipr2html viprttn

test: viprchk
./viprchk paper_eg3.vipr


viprchk: viprchk.o
$(COMP) $(CFLAGS) -o viprchk viprchk.o -lgmpxx -lgmp
Expand Down
6 changes: 3 additions & 3 deletions code/viprchk.cpp
Expand Up @@ -226,7 +226,7 @@ int main( int argc, char *argv[] )
/ (double)CLOCKS_PER_SEC;

cout << endl << "Completed in " << cpu_dur
<< " seconds (CPU)" << endl;
<< " seconds (CPU time)." << endl;
}

return rs;
Expand Down Expand Up @@ -257,7 +257,7 @@ bool processRTP()
{
rtpType = RtpType::INFEAS;

cout << endl << "Need to verify infeasibility. " << endl;
cout << "Need to verify infeasibility. " << endl;
}
else if ( rtpTypeStr != "range" )
{
Expand Down Expand Up @@ -729,7 +729,7 @@ bool processDER()

pf >> numDer;

cout << "numDer = " << numDer << endl;
cout << "Number of constraints to be derived: " << numDer << endl << endl;

for( int i = 0; i < numDer; ++i )
{
Expand Down

0 comments on commit f583173

Please sign in to comment.