Closed cloudgundes closed 5 years ago
Is that a screenshot of example.php
?
You just set your functions and let the Solver class solve it. Solver::getSteps()
returns all steps towards the optimal solution (which is the last one or last two element(s)).
yes of course, that's a screenshot from example.php, what should I change? because the program is still not running, even though it's copied example.php but only shows it as shown above. Thank you in advance
Well in fact it is running since it's showing the result in form of simple variable dump - there's no UI, it is meant to be used in programmatical way.
thks sir