For q, n, d ∈ N, let A L q (n, d) denote the maximum cardinality of a code C ⊆ Z n q with minimum Lee distance at least d, where Z q denotes the cyclic group of order q. We consider a semidefinite programming bound based on triples of codewords, which bound can be computed efficiently using symmetry reductions, resulting in several new upper bounds on A L q (n, d). The technique also yields an upper bound on the independent set number of the n-th strong product power of the circular graph C d,q , which number is related to the Shannon capacity of C d,q . Here C d,q is the graph with vertex set Z q , in which two vertices are adjacent if and only if their distance (mod q) is strictly less than d. The new bound does not seem to improve significantly over the bound obtained from Lovász theta-function, except for very small n.