I have been doing an exercise in optimization. Once I got through the text-to-math part I've derived the following cost function, whose value is to be minimised:
$$ C(x, y) = 25x + 15y $$ I have also got the following constraints: $$ y \geq -7/3x + 100 $$
$$ y \geq -1/3 x + 200/3 $$
$$y \leq -2/3 x + 250/3 $$
Graphing the three constraints:
It's clear that the solution set of the system of inequalities will be the triangle made by the three lines.
Now, I know one way to solve the the optimization problem: all lines of constant cost will have the form: $$ C(x, y) = c_1 \implies 25x + 15y = c_1 $$ $$ y = -5/3x + C $$ For some arbitrary constant $C$.
Seeing that the slope of the constant cost function has slope less negative than the blue line we can see that the minimum to be found, i.e. smallest $C$ that satisfies the constraints, will be the point where blue and red line intersect. Using that knowledge it is easy to find the minimal x and y.
This solution feels very unsatisfying, however. First, it's an optimization problem and I haven't done any Calculus. Second, it relies heavily on graphing and visualizing the problem. Third, I cannot see how would I be to generalize the solution to similar problems. How would I go about solving the problem without doing all the drawing and then visually inspecting said drawing?

This problem is an instance of Linear Programming, where both the objective function and the constraints are linear ($\mathbf{A} \mathbf{x} \leq 0$) or affine ($\mathbf{A} \mathbf{x} \leq \mathbf{b}$).
The fundamental theorem of Linear Programming states that the solution to a linear program, if it exists, will be found on (at least) one of the vertices of the polygon (or polytope) designated by the constraints. A solution might not exist in the case of unbounded feasible regions, for example.
In your example, you can find those vertices by looking for intersections of the lines / constraints, and then look at the value of the objective function at each vertex, since the feasible region is a closed convex polygon. A methodical way to solve linear programs is the Simplex Algorithm, which begins traversing the feasible region at a vertex of the feasible region, walking across edges to find the minimum/maximum.