Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
b-schubert committed Nov 4, 2015
1 parent 7c5a918 commit fafdeb0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Usage:
-------------
The solver can be used in distributed systems. For that, first start the manager script, which implements the algorithm and handles the work distribution.
Make sure that the chosen IP and Port combination is reachable from all other used systems.

```
usage: deimmunization_manager.py [-h] [--grid GRID] --port PORT
[--approximate APPROXIMATE] [--key KEY]
--output OUTPUT [--resolve RESOLVE]
Expand All @@ -67,9 +67,11 @@ Arguments:
Solution output as pickel
--resolve RESOLVE, -r RESOLVE
Reinitialize with partial solution
```

After initializing the manager process, one can start multiple worker processes on the same or distributed machines. The worker process connects to the manager process via TCP/IP at the specified port (must be the same as the one the manager listens at) and obtains single work packages from the manager process. Using the flag -r (--resolve) one can specify a intermediate solution and refine or restart the solving process from there. The specified intermediate solution must be a pickled list of Solution objects.

```
usage: deimmunization_worker.py [-h] --input INPUT1 INPUT2 --masterip MASTERIP
--port PORT --authkey AUTHKEY --threads
THREADS
Expand All @@ -87,6 +89,7 @@ Arguments:
authentication key
--threads THREADS, -t THREADS
nof of core
```

INPUT1 and INPUT2 are single-objective files (in CPLEX compatible formats) of the bi-objective problems, each containing one of the objective function and all constraints of the bi-objective problem.

Expand Down

0 comments on commit fafdeb0

Please sign in to comment.