A non-transitory computer-readable storage medium for storing a program for controlling an optimization processing, the program being configured to cause a processor to perform processing, the processing comprising:
- obtaining a value of a state variable included in an evaluation function obtained by converting a problem stored in a memory;
- and
- performing a search for a minimum value of the evaluation function by repeating a process of updating the value of the state variable by a Markov chain Monte Carlo method based on a transition probability distribution that is represented by a function by which it is possible to normalize to one a sum of probabilities of transition from a current state represented by a current value of the state variable to each of a plurality of different states, in which a transition probability becomes larger than in a Boltzmann distribution as a change in the value of the evaluation function due to a change in the value of the state variable is positively larger.