I'm trying to solve a certain type of engineering problem, but I don't know what kind of math would apply to solving this problem. I'm not asking to solve the problem for me, but I am having trouble searching for the terms online when I don't even know what the math might be called.
An example of the problem would be that I have the state of a few objects (for example whether a few solenoids on a machine are enabled or disabled). Then I have a set of commands I can run. One command might toggle the state of the first two. I might have another command that toggles the state of every other solenoid. A third command might reset all solenoids to their default state.
I want to be able to solve a statement, such as: when there are 4 solenoids and the initial states are ON, OFF, ON, ON, what sequence of commands (from a predefined set of commands I have) do I need to run such that the final state will be ON, OFF, OFF, OFF). (Also is it even possible to get to the desired state?)
When I was in college I took a class on abstract algebra, and I seem to vaguely remember some similar math, but can't quite remember.
(p.s., if anyone can apply more relevant tags, that would be helpful!)
I'm not entirely certain, but it sounds like this might be closest to a Boolean satisfiability problem, and specifically an XOR-satisfiability problem, which is equivalent to solving a system of linear equations mod 2, where each command represents a variable, and each solenoid represents an equation.