What is an Optimal Solution and How is it Different from a Heuristic?

  • Thread starter Thread starter steve22
  • Start date Start date
AI Thread Summary
An optimal solution in computing refers to the best possible outcome, characterized by the lowest cost or highest return among analyzed scenarios. It typically involves the fewest moves or resources, aiming for speed, accuracy, or efficiency. The discussion highlights the complexity of finding optimal solutions, particularly in problems like the traveling salesman. Understanding the distinction between optimal solutions and heuristics is crucial, as heuristics provide approximate solutions rather than guaranteed best outcomes. This foundational knowledge is essential for studying algorithms effectively.
steve22
Messages
4
Reaction score
0
Hi Guys

Can someone please explain what optimal solution is. I am a computing student and have to study algorithms.

I have done some research and i have the following information but i still don't know what op is. If anyone can explain what it is and were an example of a OP such as the travling salesmen or Suduko. :confused::confused:

Heres what i have at the moment

Optimal solution: In the context of the Optimizer, the optimal solution is the one with the lowest cost or highest return from among the set of scenarios analyzed by the Optimizer. Optimal solution which only uses a minimum possible number of moves.
 
Physics news on Phys.org
Optimal just means best. So the optimal solution would usually be the fastest or the one that produces the most accurate answer, although it could also be the solution which uses least memory or some other ocnsideration.

If you want to know the optimal solution to the traveling salesman problem that's a bit trickier.
 
steve22 said:
Heres what i have at the moment

Optimal solution: In the context of the Optimizer, the optimal solution is the one with the lowest cost or highest return from among the set of scenarios analyzed by the Optimizer.
This is a good working definition. To better understand what an optimal solution is, look up the difference between a heuristic and an optimal solution.
 
Back
Top