I guess, we misunderstand each other. I want to solve a MIP using the distributed MIP feature from the command line on a non-default port. How can I do this using gurobi_cl?
I start the workers using grb_rs on 2 nodes. They listen to port 22222 (checked via lsof -i). If I then say:
gurobi_cl TimeLimit=7200 WorkerPool=host1,host2 DistributedMIPJobs=2 Threads=8 miplib2010/air04.mps.gz
it tries to connect to port 61000 (checked via strace). PORT=22222 is set on all machines in $GRB_LICENSE_FILE.
If there is a C API call that can start distributed MIP on a given port, I could also write a small C program, but I didn't find such an API call.