Skip to content

search unit tests. Note: current code not checking if grid points satisfy constraints#2

Open
biona001 wants to merge 10 commits intoOpenMendel:masterfrom
biona001:master
Open

search unit tests. Note: current code not checking if grid points satisfy constraints#2
biona001 wants to merge 10 commits intoOpenMendel:masterfrom
biona001:master

Conversation

@biona001
Copy link
Member

@biona001 biona001 commented Mar 6, 2018

If we set travel = grid, then we are basically evaluating the function at a bunch of specified grid points. These grid points MAY NOT satisfy the constraints specified in the problem. Test 13 contains this test case (commented out) and it currently will return the wrong minimum, but it should throw an error saying that some grid points does not satisfy constraints. To fix the issue, I added lines 92~105 to Search.jl (which currently is commented out to prevent unwanted action).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant