davisking / dlib

A toolkit for making real world machine learning and data analysis applications in C++

Home Page:http://dlib.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[question] What to do if some argument values are not valid?

lesshaste opened this issue · comments

dlib version 19.23.0 on ubuntu 20.04 64 bit using dlib from python

I have an objective function that takes integer parameters but some parameters are not valid. Is there a recommendation for what to do in this circumstance using dlib's find_min_global? Looking at the Lipschitz optimization method it seems that just returning a very large value when calling the objective function with invalid arguments risks artificially giving a very large Lipschitz constant to the optimization method which might ruin its efficiency.

Warning: this issue has been inactive for 35 days and will be automatically closed on 2022-04-26 if there is no further activity.

If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search.

Warning: this issue has been inactive for 42 days and will be automatically closed on 2022-04-26 if there is no further activity.

If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search.

Notice: this issue has been closed because it has been inactive for 45 days. You may reopen this issue if it has been closed in error.