# -*- coding: UTF-8 -*-
# Lukšan-Vlček unconstrained problems test suite

from pyopus.problems.lvu import *

if __name__=='__main__':
	print("Unconstrained problems, n=50")
	for ii in range(len(LVU.names)):
		prob=LVU(number=ii, n=50)
		
		# These problems need setting up before they are used. 
		# Only one problem can be uset at a time. 
		prob.setup()
		
		print(f"{ii:2d}: {prob.name:40s}: f0={prob.f(prob.initial)[0]:e}")
	print()

