if (argv.length < 3)
{
System.out.println("Usage: java ThreadedSolverClient [host] [port] [problem]");
System.exit(1);
}
String host = argv[0];
int port = 3000;
double pval = 0;
try
{
port = Integer.parseInt(argv[1]);
pval = Double.valueOf(argv[2]).doubleValue();
}
catch (NumberFormatException e)
{}
ThreadedSolverClient client = new ThreadedSolverClient(host, port, pval);
System.out.println("Attaching client to " + host + ":" + port + "...");
client.run();