StaticOptimization.py
def objective(s, s_min=100):
    """
    minimum is reached at s=s_min
    """
    return -0.5 * ((s - s_min) ** 2)

    minimum is reached at s=s_min
    
minimum is reached at s=s_min
minimum is reached at s = s_min
def objective(s, s_min=100):
    return -0.5 * ((s - s_min) ** 2)
def objective ( s , s_min = 100 ) : return - 0.5 * ( ( s - s_min ) ** 2 )
minimum is reached at s=s_min
minimum is reached at s = s_min
"""
    minimum is reached at s=s_min
    """
s
s_min