#!/bin/sh tmp=$2.tmp rm -f $tmp cplex -c "read $1" "optimize" "write $tmp sol" grep '@@' > $2 touch $2