Q: Does "admit" have the same meaning in the following two sentences?

We can not admit non-members into our club building.

She admitted us here.

A: the same meaning

Q: Does "optimization" have the same meaning in the following two sentences?

To promote the optimization and diversification of agricultural products.

In an optimization problem we seek values of the variables that lead to an optimal value of the function that is to be optimized.

A: the same meaning

Q: Does "sense" have the same meaning in the following two sentences?

Fortunately she had the good sense to run away.

It's common sense not to put metal objects in a microwave oven.

A:
the same meaning