Code an optimization algorithm to solve a linear equation with multiple variables.
Points to consider:
- The equation might have up to 100 variables
- The variables can take values only from the positive integer space
- The solution is also always in the positive integer space
- Coefficients take values from the integer space
Example of such equation:
The program doesn’t have to find all possible solutions, our task is to find just one solution but as fast as possible.