ejr / matchpres (public) (License: BSD) (since 2018-08-29) (hash sha1)
Ye olde thesis code implementing an auction-based weighted bipartite matching algorithm over MPI.
List of commits:
Subject Hash Author Date (UTC)
More data: primal, dual, duration 2c59b3bdc4789035f919ce2132f2d20e33884329 Jason Riedy 2005-04-18 18:20:44
Removed mistaken Acopy 8af95560220c3dd532eba9efa95b6993a0bedf97 Jason Riedy 2005-04-18 05:07:13
write new data from matchmtx. 9bbe665ce58799a37beed4e6557f756bdf6e8a48 Jason Riedy 2005-04-18 05:05:14
Dumb bug fix. 0acb519a5298ca2fd3256cc54e7e91a267990022 Jason Riedy 2005-04-13 04:21:01
quit when not square b74d721df984ae9c60d4617921d6dc7813215022 Jason Riedy 2005-04-12 23:36:47
Go back to gcc. 9d50e51da839a9dcf5193030c9fcdd49cdfa9854 Jason Riedy 2005-04-12 23:31:07
undo extra changes 41f6e35374346b3ac19a8342a9c4ff75796ceee5 Jason Riedy 2005-04-12 23:21:08
fix auction_shift for explicit zeros 10be6a173d391689574e9e88774e90dc1c7ac1d9 Jason Riedy 2005-04-12 23:20:38
HAVE_LOGB 38a377840fbffdbcc1f8ebab1f9775502547e4cb Jason Riedy 2005-04-12 23:11:13
add -nofor_main, fix seqauction b24bdf1318ea24afd1b43230b372fcc776fef8f6 Jason Riedy 2005-04-12 23:05:54
Prepare for massive runs. 5f9172fedbc636a986bd57c48cfa20bd1f1c17a7 Jason Riedy 2005-04-12 22:55:06
Update build stuff. 64cf1bc1ea3e70fdf320fe51a95f140f57076d80 Jason Riedy 2005-04-12 22:28:15
Add bigfloat changes 11ccd212bae7140c529c3431262b03d52c8a6309 Jason Riedy 2005-04-12 21:46:27
initial import 2aa81858e4a8c9d6c37158f5f32eccdaa5184643 Jason Riedy 2005-04-12 21:45:12
Commit 2c59b3bdc4789035f919ce2132f2d20e33884329 - More data: primal, dual, duration
* matchmtx.c (main): Save primal, dual, and duration.

git-archimport-id: ejr@cs.berkeley.edu--superlu/matchpres--base--0--patch-13
Author: Jason Riedy
Author date (UTC): 2005-04-18 18:20
Committer name: Jason Riedy
Committer date (UTC): 2005-04-18 18:20
Parent(s): 8af95560220c3dd532eba9efa95b6993a0bedf97
Signing key:
Tree: 01b298f33e912c98c45119ad4c485b91d512ca9d
File Lines added Lines deleted
matchmtx.c 8 2
File matchmtx.c changed (mode: 100644) (index f5c8f3b..045bb34)
... ... main (int argc, char **argv)
44 44 double *price, *profit = NULL; double *price, *profit = NULL;
45 45
46 46 int errflg, i, j; int errflg, i, j;
47 double p, d;
47 double p, d, td;
48 48 volatile double auction_primal = 0.0, mc64_primal = 0.0; volatile double auction_primal = 0.0, mc64_primal = 0.0;
49 49 /* gcc-3.4 compiler bug? ap becomes zero after calling mc64 /* gcc-3.4 compiler bug? ap becomes zero after calling mc64
50 50 with optimization */ with optimization */
 
... ... main (int argc, char **argv)
131 131 CALLGRIND_STOP_INSTRUMENTATION(); CALLGRIND_STOP_INSTRUMENTATION();
132 132
133 133 auction_eval_primal_mdual (A, expint, match, price, &auction_primal, &d); auction_eval_primal_mdual (A, expint, match, price, &auction_primal, &d);
134 td = timer_duration(timer);
134 135 printf ("Primal: %20g\nDual: %20g\nTime: %20g\nmu_min: %20g\n", printf ("Primal: %20g\nDual: %20g\nTime: %20g\nmu_min: %20g\n",
135 auction_primal, d, timer_duration(timer), mu_min);
136 auction_primal, d, td, mu_min);
136 137
137 138 { {
138 139 int i, j; int i, j;
 
... ... main (int argc, char **argv)
164 165 fwrite (&bo_tag, sizeof(int), 1, fout); fwrite (&bo_tag, sizeof(int), 1, fout);
165 166 fwrite (&mu_min, sizeof(double), 1, fout); fwrite (&mu_min, sizeof(double), 1, fout);
166 167 fwrite (&relgap, sizeof(int), 1, fout); fwrite (&relgap, sizeof(int), 1, fout);
168
169 fwrite (&auction_primal, sizeof(double), 1, fout);
170 fwrite (&d, sizeof(double), 1, fout);
171 fwrite (&td, sizeof(double), 1, fout);
172
167 173 fwrite (match, sizeof(int), A.nc, fout); fwrite (match, sizeof(int), A.nc, fout);
168 174
169 175 profit = malloc (A.nr * sizeof(double)); profit = malloc (A.nr * sizeof(double));
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/ejr/matchpres

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/ejr/matchpres

Clone this repository using git:
git clone git://git.rocketgit.com/user/ejr/matchpres

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main