This is an easy optimization problem that can be classically solved. My question is that, in qiskit, how can we solve this optimization problem using IBM real machines? Is it even possible to do that? If yes, how can we transform the cost function to be solvable by the quantum computer? And how can we take into account the constraints?
max (x+y) -x + 2y <=8 2x + y <=14 2x - y <= 10 0 < x <10 0 < y < 10
I want to know if that is possible to transform this into an Ising Hamiltonian or not?