Analyzing structure with linear inequalities